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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006797/0.0006797, allocations: 92.39 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.0007132/0.0007131, allocations: 175 kB / 16.58 MB, free: 6.066 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.176/1.176, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6048/0.6048, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 16.16 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001005/0.1141, allocations: 0.99 MB / 0.5579 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.1149, allocations: 0.5631 MB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.1149, allocations: 4 kB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.1149, allocations: 0 / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.115, allocations: 3.938 kB / 0.5584 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1153, allocations: 127.6 kB / 0.5585 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.1154, allocations: 19.92 kB / 0.5586 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.1154, allocations: 0 / 0.5586 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.1155, allocations: 4 kB / 0.5586 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.1155, allocations: 11.94 kB / 0.5586 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.1155, allocations: 0 / 0.5586 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.1159, allocations: 335.3 kB / 0.5589 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-06/0.1159, allocations: 7.984 kB / 0.5589 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.116, allocations: 33.7 kB / 0.5589 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1161, allocations: 92.11 kB / 0.559 GB, free: 9.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1161, allocations: 0 / 0.559 GB, free: 9.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1161, allocations: 0 / 0.559 GB, free: 9.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1161, allocations: 0 / 0.559 GB, free: 9.457 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.0003087/0.1165, allocations: 363.2 kB / 0.5594 GB, free: 9.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1165, allocations: 8.031 kB / 0.5594 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.605e-05/0.1165, allocations: 30.56 kB / 0.5594 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.1166, allocations: 7.906 kB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.851e-05/0.1166, allocations: 163 kB / 0.5596 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1167, allocations: 4 kB / 0.5596 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1167, allocations: 11.95 kB / 0.5596 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.1168, allocations: 33.69 kB / 0.5596 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1168, allocations: 0 / 0.5596 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1168, allocations: 7.984 kB / 0.5596 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1168, allocations: 4 kB / 0.5596 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.138e-05/0.1168, allocations: 7.984 kB / 0.5596 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.117, allocations: 153.7 kB / 0.5598 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1171, allocations: 54.5 kB / 0.5598 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.1172, allocations: 12.86 kB / 0.5598 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.1172, allocations: 4 kB / 0.5599 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1172, allocations: 38.59 kB / 0.5599 GB, free: 8.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.1172, allocations: 0 / 0.5599 GB, free: 8.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004751/0.1177, allocations: 310.2 kB / 0.5602 GB, free: 8.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1177, allocations: 55.41 kB / 0.5602 GB, free: 7.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.369e-05/0.1178, allocations: 93.86 kB / 0.5603 GB, free: 7.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1178, allocations: 29.7 kB / 0.5604 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.1178, allocations: 88.12 kB / 0.5604 GB, free: 7.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1179, allocations: 23.58 kB / 0.5605 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1179, allocations: 4 kB / 0.5605 GB, free: 7.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.03e-05/0.1179, allocations: 314.8 kB / 0.5608 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.118, allocations: 11.98 kB / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.118, allocations: 16 kB / 0.5608 GB, free: 7.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.118, allocations: 12 kB / 0.5608 GB, free: 7.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.118, allocations: 0 / 0.5608 GB, free: 7.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.383e-05/0.1181, allocations: 61.64 kB / 0.5609 GB, free: 7.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1181, allocations: 11.94 kB / 0.5609 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.1181, allocations: 0 / 0.5609 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.1182, allocations: 0 / 0.5609 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.529e-05/0.1182, allocations: 11.98 kB / 0.5609 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1182, allocations: 7.938 kB / 0.5609 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.1182, allocations: 4 kB / 0.5609 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1182, allocations: 4 kB / 0.5609 GB, free: 7.262 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.263e-05/0.1183, allocations: 109.8 kB / 0.561 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1183, allocations: 11.86 kB / 0.561 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1184, allocations: 69.64 kB / 0.5611 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1184, allocations: 4 kB / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1185, allocations: 0 / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1185, allocations: 0 / 0.5611 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1187, allocations: 319.4 kB / 0.5614 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1187, allocations: 0 / 0.5614 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.1188, allocations: 8 kB / 0.5614 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1188, allocations: 8.5 kB / 0.5614 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1188, allocations: 0 / 0.5614 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1188, allocations: 4.172 kB / 0.5614 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1188, allocations: 0 / 0.5614 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.119, allocations: 180.6 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.119, allocations: 92.95 kB / 0.5617 GB, free: 6.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.119, allocations: 8.094 kB / 0.5617 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.1191, allocations: 0 / 0.5617 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.1191, allocations: 7.984 kB / 0.5617 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1191, allocations: 3.984 kB / 0.5617 GB, free: 6.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.614e-05/0.1192, allocations: 83.28 kB / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1192, allocations: 0 / 0.5618 GB, free: 6.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1194, allocations: 19.94 kB / 0.5618 GB, free: 6.238 MB / 430.1 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 () * 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.0003731/0.1198, allocations: 0.7335 MB / 0.5625 GB, free: 5.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.232e-05/0.1199, allocations: 35.92 kB / 0.5625 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1199, allocations: 0 / 0.5625 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.1199, allocations: 19.94 kB / 0.5626 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.1201, allocations: 8.125 kB / 0.5626 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.1207, allocations: 495.6 kB / 0.563 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.1209, allocations: 0.6809 MB / 0.5637 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.813e-05/0.1209, allocations: 7.984 kB / 0.5637 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.121, allocations: 13.12 kB / 0.5637 GB, free: 4.148 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.121, allocations: 8 kB / 0.5637 GB, free: 4.141 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009911/0.1309, allocations: 1.394 MB / 0.5651 GB, free: 2.977 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.1311, allocations: 224.5 kB / 0.5653 GB, free: 2.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/1.554, allocations: 6.391 kB / 0.5653 GB, free: 2.734 MB / 430.1 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) Environment - environmentSimulation: