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.001531/0.001531, allocations: 103.8 kB / 16.4 MB, free: 6.477 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.001695/0.001695, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7989/0.7989, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 58.94 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1425, allocations: 77.94 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002361/0.1449, allocations: 1.247 MB / 0.6453 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.146, allocations: 0.6191 MB / 0.6459 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.146, allocations: 0 / 0.6459 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.1461, allocations: 3.938 kB / 0.6459 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.1461, allocations: 11.98 kB / 0.6459 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.1468, allocations: 141 kB / 0.646 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.1468, allocations: 19.92 kB / 0.6461 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.1469, allocations: 4 kB / 0.6461 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.1469, allocations: 7.984 kB / 0.6461 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.147, allocations: 7.922 kB / 0.6461 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.147, allocations: 4 kB / 0.6461 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.1475, allocations: 339.3 kB / 0.6464 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1475, allocations: 11.98 kB / 0.6464 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1476, allocations: 11.94 kB / 0.6464 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1479, allocations: 143.8 kB / 0.6466 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1479, allocations: 3.984 kB / 0.6466 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1479, allocations: 0 / 0.6466 GB, free: 6.953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1479, allocations: 0 / 0.6466 GB, free: 6.953 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.0004572/0.1484, allocations: 359.1 kB / 0.6469 GB, free: 6.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1484, allocations: 8.625 kB / 0.6469 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.251e-05/0.1485, allocations: 38.75 kB / 0.6469 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1485, allocations: 0.9375 kB / 0.6469 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.1487, allocations: 180.2 kB / 0.6471 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1487, allocations: 4.375 kB / 0.6471 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1487, allocations: 384 / 0.6471 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1488, allocations: 42.25 kB / 0.6472 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1488, allocations: 3.938 kB / 0.6472 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1489, allocations: 0 / 0.6472 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1489, allocations: 3.938 kB / 0.6472 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.1489, allocations: 12 kB / 0.6472 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1491, allocations: 157.7 kB / 0.6473 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1493, allocations: 46.55 kB / 0.6474 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.1493, allocations: 24.92 kB / 0.6474 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1494, allocations: 0 / 0.6474 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1494, allocations: 38.56 kB / 0.6474 GB, free: 5.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1494, allocations: 0 / 0.6474 GB, free: 5.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006872/0.1501, allocations: 302.3 kB / 0.6477 GB, free: 5.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.1501, allocations: 51.41 kB / 0.6478 GB, free: 5.469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.1502, allocations: 105.8 kB / 0.6479 GB, free: 5.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1502, allocations: 25.7 kB / 0.6479 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.1503, allocations: 80.14 kB / 0.648 GB, free: 5.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1503, allocations: 27.78 kB / 0.648 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1504, allocations: 17.72 kB / 0.648 GB, free: 5.191 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.1505, allocations: 314.8 kB / 0.6483 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.1505, allocations: 19.92 kB / 0.6483 GB, free: 4.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.1505, allocations: 15.98 kB / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/0.1506, allocations: 32.92 kB / 0.6484 GB, free: 4.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1506, allocations: 4 kB / 0.6484 GB, free: 4.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.1507, allocations: 73.56 kB / 0.6485 GB, free: 4.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1507, allocations: 4 kB / 0.6485 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1507, allocations: 0 / 0.6485 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1508, allocations: 0 / 0.6485 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.1508, allocations: 19.92 kB / 0.6485 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1508, allocations: 0 / 0.6485 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.1509, allocations: 4 kB / 0.6485 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1509, allocations: 0 / 0.6485 GB, free: 4.695 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/0.151, allocations: 113.8 kB / 0.6486 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.151, allocations: 3.938 kB / 0.6486 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1511, allocations: 73.64 kB / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1511, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1511, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1511, allocations: 0 / 0.6487 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.1515, allocations: 319.4 kB / 0.649 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1515, allocations: 0 / 0.649 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.1516, allocations: 15.94 kB / 0.649 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1516, allocations: 3.938 kB / 0.649 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1516, allocations: 3.984 kB / 0.649 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1516, allocations: 4 kB / 0.649 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1516, allocations: 0 / 0.649 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1518, allocations: 184.3 kB / 0.6492 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1518, allocations: 85.12 kB / 0.6493 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1519, allocations: 192 / 0.6493 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1519, allocations: 8 kB / 0.6493 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.152, allocations: 4 kB / 0.6493 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.152, allocations: 7.984 kB / 0.6493 GB, free: 3.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.152, allocations: 75.8 kB / 0.6494 GB, free: 3.695 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.152, allocations: 0 / 0.6494 GB, free: 3.695 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1523, allocations: 23.94 kB / 0.6494 GB, free: 3.672 MB / 494.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 (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.0004909/0.1528, allocations: 0.7454 MB / 0.6501 GB, free: 2.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1529, allocations: 39.91 kB / 0.6501 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1529, allocations: 0 / 0.6501 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.1529, allocations: 20.06 kB / 0.6502 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1532, allocations: 4.688 kB / 0.6502 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1543, allocations: 1.323 MB / 0.6515 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1546, allocations: 0.6807 MB / 0.6521 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.1546, allocations: 8.062 kB / 0.6521 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1547, allocations: 15.42 kB / 0.6521 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1547, allocations: 0 / 0.6521 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1737, allocations: 1.6 MB / 0.6537 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.717, allocations: 18.36 kB / 0.6537 GB, free: 15.23 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)