Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4965/0.4965, allocations: 90.8 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.000866, allocations: 93.88 kB / 421.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.497e-05, allocations: 4 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 72.31 MB / 0.5603 GB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6397, allocations: 102.2 MB / 0.6601 GB, free: 5.676 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.64, allocations: 77.33 kB / 0.6602 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008715/0.6487, allocations: 2.872 MB / 0.663 GB, free: 3.188 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6487, allocations: 0 / 0.663 GB, free: 3.188 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.6488, allocations: 0 / 0.663 GB, free: 3.188 MB / 458.7 MB 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.0003826/0.6491, allocations: 350.3 kB / 0.6633 GB, free: 2.801 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.6492, allocations: 19.98 kB / 0.6633 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.6493, allocations: 34.06 kB / 0.6634 GB, free: 2.742 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.6493, allocations: 0 / 0.6634 GB, free: 2.742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.6494, allocations: 163.1 kB / 0.6635 GB, free: 2.543 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6495, allocations: 3.938 kB / 0.6635 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.6495, allocations: 0 / 0.6635 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.6496, allocations: 41.31 kB / 0.6636 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.6496, allocations: 0 / 0.6636 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6497, allocations: 3.953 kB / 0.6636 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.6497, allocations: 0 / 0.6636 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.6497, allocations: 15.19 kB / 0.6636 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.6499, allocations: 156 kB / 0.6637 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.6501, allocations: 49.55 kB / 0.6638 GB, free: 2.234 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.6502, allocations: 16.67 kB / 0.6638 GB, free: 2.219 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.6502, allocations: 3.938 kB / 0.6638 GB, free: 2.215 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.6503, allocations: 34.56 kB / 0.6638 GB, free: 2.172 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.6503, allocations: 4 kB / 0.6638 GB, free: 2.168 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006753/0.651, allocations: 315.5 kB / 0.6641 GB, free: 1.828 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.651, allocations: 51.41 kB / 0.6642 GB, free: 1.766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.6511, allocations: 93.17 kB / 0.6643 GB, free: 1.668 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.6511, allocations: 29.2 kB / 0.6643 GB, free: 1.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.6511, allocations: 80.14 kB / 0.6644 GB, free: 1.555 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.6512, allocations: 23.23 kB / 0.6644 GB, free: 1.535 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.6512, allocations: 4 kB / 0.6644 GB, free: 1.531 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.6513, allocations: 310.8 kB / 0.6647 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.6513, allocations: 11.31 kB / 0.6647 GB, free: 1.211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.6513, allocations: 11.38 kB / 0.6647 GB, free: 1.203 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.6514, allocations: 23.56 kB / 0.6647 GB, free: 1.184 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.6514, allocations: 0 / 0.6647 GB, free: 1.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.6515, allocations: 64.22 kB / 0.6648 GB, free: 1.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6515, allocations: 4.625 kB / 0.6648 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6515, allocations: 0 / 0.6648 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6515, allocations: 0 / 0.6648 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.6516, allocations: 19.44 kB / 0.6648 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.6516, allocations: 3.953 kB / 0.6648 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.6517, allocations: 0 / 0.6648 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.6517, allocations: 0 / 0.6648 GB, free: 1.098 MB / 458.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.6517, allocations: 107.3 kB / 0.6649 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.6517, allocations: 3.938 kB / 0.6649 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.6519, allocations: 74.64 kB / 0.665 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.6519, allocations: 0 / 0.665 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6519, allocations: 0 / 0.665 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6519, allocations: 7.953 kB / 0.665 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.6523, allocations: 310.5 kB / 0.6653 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6523, allocations: 4 kB / 0.6653 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.6524, allocations: 11.98 kB / 0.6653 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6524, allocations: 0 / 0.6653 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.6524, allocations: 8.125 kB / 0.6653 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.6524, allocations: 7.953 kB / 0.6653 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6524, allocations: 0 / 0.6653 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.6526, allocations: 193.9 kB / 0.6655 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.6527, allocations: 81.09 kB / 0.6656 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.6527, allocations: 7.984 kB / 0.6656 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.6528, allocations: 3.375 kB / 0.6656 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.6528, allocations: 7.984 kB / 0.6656 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.6528, allocations: 0 / 0.6656 GB, free: 224 kB / 458.7 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.6529, allocations: 83.34 kB / 0.6657 GB, free: 140 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.973e-06/0.6529, allocations: 0 / 0.6657 GB, free: 140 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.6531, allocations: 31.38 kB / 0.6657 GB, free: 112 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005745/0.6537, allocations: 0.8237 MB / 0.6665 GB, free: 15.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.552e-05/0.6538, allocations: 30.94 kB / 0.6666 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6538, allocations: 0 / 0.6666 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.6539, allocations: 19.19 kB / 0.6666 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.654, allocations: 6.266 kB / 0.6666 GB, free: 15.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.6545, allocations: 190.5 kB / 0.6668 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.6547, allocations: 0.6876 MB / 0.6674 GB, free: 14.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.311e-05/0.6548, allocations: 4 kB / 0.6675 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.6548, allocations: 12.28 kB / 0.6675 GB, free: 14.28 MB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6548, allocations: 0 / 0.6675 GB, free: 14.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.6666, allocations: 1.363 MB / 0.6688 GB, free: 13.12 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.6669, allocations: 203.8 kB / 0.669 GB, free: 12.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/2.067, allocations: 0 / 0.669 GB, free: 12.88 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)