Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.001484/0.00149, allocations: 100.1 kB / 15.88 MB, free: 12 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.001472/0.001472, allocations: 204.3 kB / 16.79 MB, free: 6.84 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.11 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1336, allocations: 76.19 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003182/0.1368, allocations: 1.32 MB / 0.5571 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.138, allocations: 0.6462 MB / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1381, allocations: 0 / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.1381, allocations: 0 / 0.5578 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.1382, allocations: 7.969 kB / 0.5578 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.1389, allocations: 123.5 kB / 0.5579 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.139, allocations: 27.92 kB / 0.5579 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.139, allocations: 0 / 0.5579 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.139, allocations: 15.97 kB / 0.5579 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1391, allocations: 15.92 kB / 0.558 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1391, allocations: 0 / 0.558 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.1397, allocations: 347.3 kB / 0.5583 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1397, allocations: 3.938 kB / 0.5583 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.1397, allocations: 19.94 kB / 0.5583 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.14, allocations: 151.9 kB / 0.5585 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.14, allocations: 0 / 0.5585 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.14, allocations: 0 / 0.5585 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.14, allocations: 0 / 0.5585 GB, free: 8.016 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003988/0.1404, allocations: 371.4 kB / 0.5588 GB, free: 7.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1405, allocations: 12.03 kB / 0.5588 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.1405, allocations: 34.75 kB / 0.5589 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1406, allocations: 8.922 kB / 0.5589 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.1407, allocations: 164.3 kB / 0.559 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1407, allocations: 4.375 kB / 0.559 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1407, allocations: 4.375 kB / 0.559 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1409, allocations: 50.25 kB / 0.5591 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1409, allocations: 3.938 kB / 0.5591 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1409, allocations: 0 / 0.5591 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1409, allocations: 3.938 kB / 0.5591 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.435e-05/0.141, allocations: 19.98 kB / 0.5591 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.1412, allocations: 169.6 kB / 0.5593 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1413, allocations: 58.56 kB / 0.5593 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.1413, allocations: 32.84 kB / 0.5594 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1414, allocations: 240 / 0.5594 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1414, allocations: 30.56 kB / 0.5594 GB, free: 6.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.1414, allocations: 3.938 kB / 0.5594 GB, free: 6.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001184/0.1426, allocations: 0.5982 MB / 0.56 GB, free: 6.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1426, allocations: 55.41 kB / 0.56 GB, free: 6.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.923e-05/0.1427, allocations: 93.86 kB / 0.5601 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1427, allocations: 29.7 kB / 0.5601 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.1428, allocations: 80.14 kB / 0.5602 GB, free: 5.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.1428, allocations: 47.5 kB / 0.5603 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1429, allocations: 29.7 kB / 0.5603 GB, free: 5.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.143, allocations: 314.8 kB / 0.5606 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.143, allocations: 23.98 kB / 0.5606 GB, free: 5.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.143, allocations: 26.88 kB / 0.5606 GB, free: 5.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.1432, allocations: 60.78 kB / 0.5607 GB, free: 5.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1432, allocations: 0 / 0.5607 GB, free: 5.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001368/0.1433, allocations: 97.47 kB / 0.5608 GB, free: 5.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1433, allocations: 4 kB / 0.5608 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1433, allocations: 8 kB / 0.5608 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1433, allocations: 0 / 0.5608 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1435, allocations: 23.98 kB / 0.5608 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1435, allocations: 3.984 kB / 0.5608 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.1435, allocations: 4 kB / 0.5608 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1435, allocations: 0 / 0.5608 GB, free: 5.266 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/0.1436, allocations: 117.8 kB / 0.5609 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.1436, allocations: 11.92 kB / 0.561 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.1438, allocations: 101.6 kB / 0.5611 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1438, allocations: 4 kB / 0.5611 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1438, allocations: 0 / 0.5611 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1438, allocations: 0 / 0.5611 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.1442, allocations: 350.4 kB / 0.5614 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1443, allocations: 0 / 0.5614 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1444, allocations: 23.98 kB / 0.5614 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1444, allocations: 0 / 0.5614 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1444, allocations: 4 kB / 0.5614 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1444, allocations: 0 / 0.5614 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1444, allocations: 8 kB / 0.5614 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.1447, allocations: 223.2 kB / 0.5616 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.1447, allocations: 89.05 kB / 0.5617 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1447, allocations: 0 / 0.5617 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.1448, allocations: 4 kB / 0.5617 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.1449, allocations: 7.984 kB / 0.5617 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1449, allocations: 8 kB / 0.5617 GB, free: 4.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.1449, allocations: 79.44 kB / 0.5618 GB, free: 4.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1449, allocations: 3.938 kB / 0.5618 GB, free: 4.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1452, allocations: 36 kB / 0.5619 GB, free: 4.109 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0006093/0.1458, allocations: 0.783 MB / 0.5626 GB, free: 3.305 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.146, allocations: 60.12 kB / 0.5627 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.146, allocations: 4 kB / 0.5627 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/0.146, allocations: 35.92 kB / 0.5627 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1463, allocations: 5.969 kB / 0.5627 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1477, allocations: 1.52 MB / 0.5642 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1479, allocations: 0.6849 MB / 0.5649 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.578e-05/0.148, allocations: 11.98 kB / 0.5649 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.148, allocations: 19.44 kB / 0.5649 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.148, allocations: 0 / 0.5649 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.1598, allocations: 1.903 MB / 0.5668 GB, free: 15.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.16, allocations: 234.3 kB / 0.567 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/1.975, allocations: 4.453 kB / 0.567 GB, free: 14.88 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)