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.001131/0.001131, allocations: 104.9 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 192 kB / 17.34 MB, free: 5.727 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7911/0.7911, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 67 kB / 0.5726 GB, free: 27.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 78.71 MB / 0.6495 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00241/0.1459, allocations: 1.251 MB / 0.6507 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.147, allocations: 0.6207 MB / 0.6513 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.1471, allocations: 0 / 0.6513 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1471, allocations: 4 kB / 0.6513 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.1472, allocations: 7.938 kB / 0.6513 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.1478, allocations: 145.7 kB / 0.6514 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.1479, allocations: 23.91 kB / 0.6515 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.148, allocations: 4 kB / 0.6515 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.148, allocations: 7.938 kB / 0.6515 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.1481, allocations: 7.984 kB / 0.6515 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1481, allocations: 4 kB / 0.6515 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.1486, allocations: 343.3 kB / 0.6518 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.1486, allocations: 7.984 kB / 0.6518 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.1486, allocations: 11.94 kB / 0.6518 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1489, allocations: 143.8 kB / 0.652 GB, free: 2.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.149, allocations: 4 kB / 0.652 GB, free: 2.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.149, allocations: 0 / 0.652 GB, free: 2.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.149, allocations: 0 / 0.652 GB, free: 2.035 MB / 494.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.0004079/0.1494, allocations: 363.1 kB / 0.6523 GB, free: 1.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1494, allocations: 11.97 kB / 0.6523 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.1495, allocations: 34.75 kB / 0.6524 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.1495, allocations: 4.938 kB / 0.6524 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1496, allocations: 168.3 kB / 0.6525 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1497, allocations: 4.375 kB / 0.6525 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1497, allocations: 8.078 kB / 0.6525 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1498, allocations: 37.7 kB / 0.6526 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1498, allocations: 7.922 kB / 0.6526 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1498, allocations: 0 / 0.6526 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1498, allocations: 0 / 0.6526 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.1499, allocations: 15.94 kB / 0.6526 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1501, allocations: 157.7 kB / 0.6527 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1503, allocations: 42.61 kB / 0.6528 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.1503, allocations: 24.88 kB / 0.6528 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1503, allocations: 0 / 0.6528 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1504, allocations: 34.56 kB / 0.6528 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.485e-06/0.1504, allocations: 3.984 kB / 0.6528 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006453/0.151, allocations: 310.3 kB / 0.6531 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1511, allocations: 51.41 kB / 0.6532 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.1511, allocations: 97.84 kB / 0.6533 GB, free: 452 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1512, allocations: 29.7 kB / 0.6533 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.1512, allocations: 80.14 kB / 0.6534 GB, free: 332 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1512, allocations: 19.8 kB / 0.6534 GB, free: 312 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.1513, allocations: 21.7 kB / 0.6534 GB, free: 284 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1514, allocations: 322.8 kB / 0.6537 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.1514, allocations: 8 kB / 0.6537 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.1514, allocations: 15.97 kB / 0.6538 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.1515, allocations: 32.86 kB / 0.6538 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1515, allocations: 3.938 kB / 0.6538 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.1516, allocations: 69.58 kB / 0.6539 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1517, allocations: 4 kB / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.1517, allocations: 0 / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1517, allocations: 0 / 0.6539 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.1518, allocations: 20.06 kB / 0.6539 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1518, allocations: 4 kB / 0.6539 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.1518, allocations: 0 / 0.6539 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1518, allocations: 3.984 kB / 0.6539 GB, free: 15.79 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.1519, allocations: 121.8 kB / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1519, allocations: 0 / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1521, allocations: 77.81 kB / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1521, allocations: 0 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1521, allocations: 0 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1521, allocations: 11.92 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.1524, allocations: 315.3 kB / 0.6544 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1524, allocations: 0 / 0.6544 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.1525, allocations: 12 kB / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1525, allocations: 0 / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1525, allocations: 0 / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1525, allocations: 4 kB / 0.6544 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1525, allocations: 0 / 0.6544 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.1527, allocations: 192.2 kB / 0.6546 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.1528, allocations: 89.12 kB / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1528, allocations: 0 / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1529, allocations: 0 / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.1529, allocations: 4 kB / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1529, allocations: 7.938 kB / 0.6547 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.1529, allocations: 83.27 kB / 0.6548 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.153, allocations: 64 / 0.6548 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002573/0.1532, allocations: 23.94 kB / 0.6548 GB, free: 14.74 MB / 0.4981 GB 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 (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.000493/0.1537, allocations: 0.7407 MB / 0.6555 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1538, allocations: 24 kB / 0.6555 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1538, allocations: 4.062 kB / 0.6555 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.1539, allocations: 23.92 kB / 0.6556 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.1541, allocations: 7.938 kB / 0.6556 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1554, allocations: 1.323 MB / 0.6569 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1557, allocations: 0.6807 MB / 0.6575 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.1557, allocations: 7.938 kB / 0.6575 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1558, allocations: 15.44 kB / 0.6575 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.1558, allocations: 0 / 0.6575 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1775, allocations: 1.606 MB / 0.6591 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.01, allocations: 10.97 kB / 0.6591 GB, free: 10.32 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)