Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005857/0.005857, allocations: 101.1 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 193.8 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 240.3 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9208/0.9208, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5955 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3795, allocations: 82.03 MB / 0.6756 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002085/0.3816, allocations: 1.259 MB / 0.6769 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3827, allocations: 0.6186 MB / 0.6775 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.3827, allocations: 3.938 kB / 0.6775 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.3828, allocations: 0 / 0.6775 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.3828, allocations: 8.984 kB / 0.6775 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.3835, allocations: 144.8 kB / 0.6776 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3836, allocations: 17.08 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.3837, allocations: 9.234 kB / 0.6776 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.3838, allocations: 4.844 kB / 0.6777 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.3838, allocations: 11.05 kB / 0.6777 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3839, allocations: 1.094 kB / 0.6777 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006118/0.3845, allocations: 346.2 kB / 0.678 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.3845, allocations: 4 kB / 0.678 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.3845, allocations: 12.33 kB / 0.678 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.3848, allocations: 148.7 kB / 0.6782 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3848, allocations: 3.938 kB / 0.6782 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3849, allocations: 0 / 0.6782 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3849, allocations: 0 / 0.6782 GB, free: 15.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005023/0.3854, allocations: 361.6 kB / 0.6785 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3854, allocations: 9.438 kB / 0.6785 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.3855, allocations: 5.969 kB / 0.6785 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3856, allocations: 166.6 kB / 0.6787 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3856, allocations: 384 / 0.6787 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.3857, allocations: 6.688 kB / 0.6787 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3858, allocations: 36.84 kB / 0.6787 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3858, allocations: 192 / 0.6787 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3858, allocations: 8.969 kB / 0.6787 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3859, allocations: 0 / 0.6787 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.3859, allocations: 18.52 kB / 0.6787 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.3861, allocations: 154.9 kB / 0.6789 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3863, allocations: 43.31 kB / 0.6789 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/0.3864, allocations: 16.64 kB / 0.6789 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3864, allocations: 1.156 kB / 0.6789 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3864, allocations: 31.72 kB / 0.679 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.3864, allocations: 4 kB / 0.679 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006092/0.3871, allocations: 323.3 kB / 0.6793 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3871, allocations: 56.69 kB / 0.6793 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/0.3872, allocations: 93.55 kB / 0.6794 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3872, allocations: 34.48 kB / 0.6795 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.3872, allocations: 81.48 kB / 0.6795 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3873, allocations: 26.3 kB / 0.6796 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.3873, allocations: 21.91 kB / 0.6796 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.3874, allocations: 316.1 kB / 0.6799 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.3874, allocations: 10.53 kB / 0.6799 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.3875, allocations: 10.78 kB / 0.6799 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.3875, allocations: 32.09 kB / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3875, allocations: 0 / 0.6799 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.483e-05/0.3876, allocations: 73 kB / 0.68 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3877, allocations: 13.27 kB / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3877, allocations: 0 / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3877, allocations: 5.188 kB / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.3877, allocations: 9.656 kB / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3878, allocations: 0 / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.3878, allocations: 1.094 kB / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3878, allocations: 1.156 kB / 0.68 GB, free: 13.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.3879, allocations: 112.1 kB / 0.6801 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.3879, allocations: 6.344 kB / 0.6802 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.388, allocations: 74.02 kB / 0.6802 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.388, allocations: 5.031 kB / 0.6802 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.388, allocations: 1.031 kB / 0.6802 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.388, allocations: 0 / 0.6802 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.3884, allocations: 308.3 kB / 0.6805 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3884, allocations: 4.906 kB / 0.6805 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.3885, allocations: 12.95 kB / 0.6805 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3885, allocations: 1.094 kB / 0.6805 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3885, allocations: 5.094 kB / 0.6805 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3885, allocations: 1.469 kB / 0.6805 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3885, allocations: 5.094 kB / 0.6806 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.3887, allocations: 185.2 kB / 0.6807 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.3888, allocations: 79.55 kB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3888, allocations: 5.969 kB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.3889, allocations: 8.859 kB / 0.6808 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.3889, allocations: 6.406 kB / 0.6808 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3889, allocations: 6.156 kB / 0.6808 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.389, allocations: 81.62 kB / 0.6809 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.389, allocations: 0 / 0.6809 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000248/0.3892, allocations: 19.88 kB / 0.6809 GB, free: 12.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002078/0.3894, allocations: 133.9 kB / 0.6811 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.3896, allocations: 32.98 kB / 0.6811 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3896, allocations: 5.125 kB / 0.6811 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.012e-05/0.3896, allocations: 11.59 kB / 0.6811 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3898, allocations: 14.28 kB / 0.6811 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.3903, allocations: 187 kB / 0.6813 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3905, allocations: 0.6837 MB / 0.682 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.3905, allocations: 3.906 kB / 0.682 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.3906, allocations: 10.12 kB / 0.682 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.3906, allocations: 0 / 0.682 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.00277/0.3933, allocations: 0.66 MB / 0.6826 GB, free: 11.36 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)