Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000716/0.000716, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007437/0.0007439, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.162/1.162, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5981/0.5981, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.0002528, allocations: 9.688 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1166, allocations: 77.12 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001323/0.118, allocations: 1.161 MB / 0.558 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.1189, allocations: 0.5921 MB / 0.5586 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1189, allocations: 0 / 0.5586 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.1189, allocations: 0 / 0.5586 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.119, allocations: 7.938 kB / 0.5586 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1195, allocations: 141 kB / 0.5588 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.1195, allocations: 43.86 kB / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.1196, allocations: 0 / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.1196, allocations: 27.91 kB / 0.5588 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.1197, allocations: 27.91 kB / 0.5589 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1197, allocations: 4 kB / 0.5589 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1201, allocations: 339.3 kB / 0.5592 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1202, allocations: 8 kB / 0.5592 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.1202, allocations: 33.64 kB / 0.5592 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1204, allocations: 120 kB / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1204, allocations: 0 / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1204, allocations: 0 / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1204, allocations: 0 / 0.5593 GB, free: 9.148 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004744/0.1209, allocations: 395.2 kB / 0.5597 GB, free: 8.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1209, allocations: 8.031 kB / 0.5597 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.121, allocations: 42.48 kB / 0.5598 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.121, allocations: 11.91 kB / 0.5598 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/0.1211, allocations: 159.1 kB / 0.5599 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1211, allocations: 4 kB / 0.5599 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1212, allocations: 11.95 kB / 0.5599 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.1214, allocations: 89.58 kB / 0.56 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1214, allocations: 0 / 0.56 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1214, allocations: 0 / 0.56 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1214, allocations: 4 kB / 0.56 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1216, allocations: 51.97 kB / 0.5601 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.1221, allocations: 340.6 kB / 0.5604 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1223, allocations: 86.53 kB / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.1225, allocations: 32.84 kB / 0.5605 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1225, allocations: 3.938 kB / 0.5605 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1225, allocations: 34.56 kB / 0.5606 GB, free: 7.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1225, allocations: 0 / 0.5606 GB, free: 7.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001396/0.1239, allocations: 0.6657 MB / 0.5612 GB, free: 6.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.124, allocations: 59.34 kB / 0.5613 GB, free: 6.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.124, allocations: 105.8 kB / 0.5614 GB, free: 6.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1241, allocations: 29.7 kB / 0.5614 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.1241, allocations: 92.05 kB / 0.5615 GB, free: 6.656 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.1241, allocations: 35.45 kB / 0.5615 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.1242, allocations: 4 kB / 0.5615 GB, free: 6.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.1243, allocations: 318.8 kB / 0.5618 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1244, allocations: 31.98 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1245, allocations: 43.97 kB / 0.5619 GB, free: 6.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1246, allocations: 35.62 kB / 0.5619 GB, free: 6.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1246, allocations: 0 / 0.5619 GB, free: 6.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002715/0.1249, allocations: 129.5 kB / 0.562 GB, free: 6.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1249, allocations: 8 kB / 0.5621 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1249, allocations: 192 / 0.5621 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1249, allocations: 0 / 0.5621 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1251, allocations: 27.92 kB / 0.5621 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1251, allocations: 4 kB / 0.5621 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.1252, allocations: 11.94 kB / 0.5621 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1252, allocations: 11.98 kB / 0.5621 GB, free: 5.996 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.008e-05/0.1252, allocations: 117.8 kB / 0.5622 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1253, allocations: 0 / 0.5622 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.1256, allocations: 143.3 kB / 0.5624 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1256, allocations: 3.938 kB / 0.5624 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1256, allocations: 4 kB / 0.5624 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1256, allocations: 7.984 kB / 0.5624 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.1261, allocations: 394.3 kB / 0.5627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1261, allocations: 0 / 0.5627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1263, allocations: 27.92 kB / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1263, allocations: 0 / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1263, allocations: 15.98 kB / 0.5628 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1263, allocations: 0 / 0.5628 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1263, allocations: 4.031 kB / 0.5628 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.1267, allocations: 262.3 kB / 0.563 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.1268, allocations: 81.02 kB / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1268, allocations: 0 / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1269, allocations: 12.02 kB / 0.5631 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.1269, allocations: 8 kB / 0.5631 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.127, allocations: 7.953 kB / 0.5631 GB, free: 4.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.127, allocations: 83.2 kB / 0.5632 GB, free: 4.746 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.127, allocations: 4.062 kB / 0.5632 GB, free: 4.742 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1273, allocations: 40 kB / 0.5633 GB, free: 4.703 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0007256/0.128, allocations: 0.8301 MB / 0.5641 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1283, allocations: 87.89 kB / 0.5642 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1283, allocations: 0 / 0.5642 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1284, allocations: 55.97 kB / 0.5642 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1286, allocations: 9.688 kB / 0.5642 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1298, allocations: 0.7571 MB / 0.565 GB, free: 2.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.1301, allocations: 0.6926 MB / 0.5656 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.1301, allocations: 8.656 kB / 0.5656 GB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1302, allocations: 27.44 kB / 0.5657 GB, free: 2.129 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1302, allocations: 0 / 0.5657 GB, free: 2.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.1409, allocations: 2.066 MB / 0.5677 GB, free: 304 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.1411, allocations: 225.7 kB / 0.5679 GB, free: 60 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/1.584, allocations: 2.391 kB / 0.5679 GB, free: 60 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: