Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.0006878/0.0006878, allocations: 92.7 kB / 15.7 MB, free: 472 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.0007039/0.0007038, allocations: 169.2 kB / 16.58 MB, free: 6.848 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.171/1.171, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5988/0.5988, allocations: 113.7 MB / 405.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003046, allocations: 8 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001047/0.1188, allocations: 0.9783 MB / 0.5579 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.1196, allocations: 0.5631 MB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1197, allocations: 0 / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.1197, allocations: 0 / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.1197, allocations: 3.984 kB / 0.5584 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1201, allocations: 123.6 kB / 0.5585 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.149e-05/0.1201, allocations: 19.88 kB / 0.5585 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.1202, allocations: 3.984 kB / 0.5585 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.1202, allocations: 7.984 kB / 0.5586 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.158e-05/0.1203, allocations: 11.94 kB / 0.5586 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.1203, allocations: 0 / 0.5586 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.1207, allocations: 331.4 kB / 0.5589 GB, free: 9.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1207, allocations: 11.92 kB / 0.5589 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.1207, allocations: 29.7 kB / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1209, allocations: 92.11 kB / 0.559 GB, free: 9.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1209, allocations: 0 / 0.559 GB, free: 9.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1209, allocations: 0 / 0.559 GB, free: 9.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1209, allocations: 0 / 0.559 GB, free: 9.484 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003149/0.1212, allocations: 359.2 kB / 0.5594 GB, free: 9.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1213, allocations: 12.02 kB / 0.5594 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.1213, allocations: 34.5 kB / 0.5594 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.225e-05/0.1213, allocations: 7.906 kB / 0.5594 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.1214, allocations: 163.1 kB / 0.5596 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1214, allocations: 8 kB / 0.5596 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1215, allocations: 7.953 kB / 0.5596 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/0.1215, allocations: 41.62 kB / 0.5596 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1216, allocations: 0 / 0.5596 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.1216, allocations: 0 / 0.5596 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1216, allocations: 4 kB / 0.5596 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.1216, allocations: 11.98 kB / 0.5596 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1218, allocations: 157.7 kB / 0.5598 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1219, allocations: 50.55 kB / 0.5598 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.1219, allocations: 12.86 kB / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.122, allocations: 7.938 kB / 0.5598 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.122, allocations: 34.52 kB / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.122, allocations: 0 / 0.5599 GB, free: 8.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000501/0.1225, allocations: 310.3 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1225, allocations: 55.41 kB / 0.5602 GB, free: 7.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.1226, allocations: 97.86 kB / 0.5603 GB, free: 7.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1226, allocations: 25.7 kB / 0.5603 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1227, allocations: 84.14 kB / 0.5604 GB, free: 7.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1227, allocations: 19.7 kB / 0.5604 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.1227, allocations: 0 / 0.5604 GB, free: 7.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.1228, allocations: 314.8 kB / 0.5607 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.1228, allocations: 11.98 kB / 0.5608 GB, free: 7.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.1228, allocations: 16 kB / 0.5608 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.1229, allocations: 12 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1229, allocations: 0 / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.894e-05/0.123, allocations: 73.56 kB / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.123, allocations: 14.12 kB / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.123, allocations: 0 / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.123, allocations: 0 / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.426e-05/0.1231, allocations: 8 kB / 0.5609 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1231, allocations: 4 kB / 0.5609 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.1231, allocations: 0 / 0.5609 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1231, allocations: 7.984 kB / 0.5609 GB, free: 7.289 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 (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 5.738e-05/0.1232, allocations: 113.8 kB / 0.561 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.1232, allocations: 7.859 kB / 0.561 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.1233, allocations: 69.59 kB / 0.5611 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1233, allocations: 4 kB / 0.5611 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1233, allocations: 0 / 0.5611 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1233, allocations: 3.984 kB / 0.5611 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1236, allocations: 319.3 kB / 0.5614 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1236, allocations: 192 / 0.5614 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.1237, allocations: 12 kB / 0.5614 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1237, allocations: 4 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1237, allocations: 4 kB / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1237, allocations: 0 / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1237, allocations: 0 / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.1239, allocations: 184.4 kB / 0.5616 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.1239, allocations: 88.95 kB / 0.5617 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1239, allocations: 4.031 kB / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.124, allocations: 0 / 0.5617 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.124, allocations: 4 kB / 0.5617 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.124, allocations: 4 kB / 0.5617 GB, free: 6.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.958e-05/0.1241, allocations: 83.78 kB / 0.5618 GB, free: 6.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1241, allocations: 0 / 0.5618 GB, free: 6.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1243, allocations: 23.94 kB / 0.5618 GB, free: 6.266 MB / 430.1 MB 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 (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.0004004/0.1247, allocations: 0.7374 MB / 0.5625 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.1248, allocations: 28.23 kB / 0.5625 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1248, allocations: 0 / 0.5625 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.1248, allocations: 19.92 kB / 0.5625 GB, free: 5.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.125, allocations: 8.125 kB / 0.5626 GB, free: 5.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.1256, allocations: 0.4896 MB / 0.563 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.1259, allocations: 0.6809 MB / 0.5637 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.635e-05/0.1259, allocations: 7.984 kB / 0.5637 GB, free: 4.188 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.1259, allocations: 19.42 kB / 0.5637 GB, free: 4.168 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1259, allocations: 0 / 0.5637 GB, free: 4.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009527/0.1355, allocations: 1.374 MB / 0.5651 GB, free: 3 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.1357, allocations: 223.4 kB / 0.5653 GB, free: 2.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/1.527, allocations: 0 / 0.5653 GB, free: 2.762 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: