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.001277/0.001277, allocations: 101.8 kB / 16.4 MB, free: 6.488 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.001241/0.001241, 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7764/0.7764, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.66 kB / 0.568 GB, free: 28.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 77.93 MB / 0.6441 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003295/0.1494, allocations: 1.269 MB / 0.6453 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1508, allocations: 0.6152 MB / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1508, allocations: 0 / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.1509, allocations: 0 / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.653e-05/0.151, allocations: 3.938 kB / 0.6459 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.1518, allocations: 158 kB / 0.646 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.1519, allocations: 15.92 kB / 0.6461 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.152, allocations: 0 / 0.6461 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.152, allocations: 19.92 kB / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.1521, allocations: 0 / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1521, allocations: 4 kB / 0.6461 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.1527, allocations: 343.3 kB / 0.6464 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.1527, allocations: 7.938 kB / 0.6464 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.1528, allocations: 11.94 kB / 0.6464 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1531, allocations: 151.8 kB / 0.6466 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1531, allocations: 0 / 0.6466 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1531, allocations: 4 kB / 0.6466 GB, free: 6.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1531, allocations: 0 / 0.6466 GB, free: 6.914 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.000493/0.1536, allocations: 359.1 kB / 0.6469 GB, free: 6.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1537, allocations: 8.031 kB / 0.6469 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1537, allocations: 38.73 kB / 0.647 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.1538, allocations: 0.9375 kB / 0.647 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1539, allocations: 168.3 kB / 0.6471 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1539, allocations: 8.375 kB / 0.6471 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.154, allocations: 4.375 kB / 0.6471 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.1541, allocations: 46.25 kB / 0.6472 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1541, allocations: 7.875 kB / 0.6472 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1541, allocations: 0 / 0.6472 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1541, allocations: 3.938 kB / 0.6472 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.1542, allocations: 11.98 kB / 0.6472 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.1544, allocations: 157.7 kB / 0.6474 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.1546, allocations: 38.56 kB / 0.6474 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.1547, allocations: 20.86 kB / 0.6474 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1547, allocations: 3.984 kB / 0.6474 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1548, allocations: 34.56 kB / 0.6475 GB, free: 5.848 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1548, allocations: 3.938 kB / 0.6475 GB, free: 5.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007347/0.1555, allocations: 306.4 kB / 0.6477 GB, free: 5.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1555, allocations: 51.41 kB / 0.6478 GB, free: 5.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.1556, allocations: 97.86 kB / 0.6479 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1557, allocations: 29.7 kB / 0.6479 GB, free: 5.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.1557, allocations: 80.14 kB / 0.648 GB, free: 5.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1558, allocations: 31.77 kB / 0.648 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.1558, allocations: 17.72 kB / 0.648 GB, free: 5.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1559, allocations: 314.8 kB / 0.6483 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.156, allocations: 11.98 kB / 0.6484 GB, free: 4.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.156, allocations: 12 kB / 0.6484 GB, free: 4.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.1561, allocations: 37 kB / 0.6484 GB, free: 4.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1561, allocations: 0 / 0.6484 GB, free: 4.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/0.1562, allocations: 77.52 kB / 0.6485 GB, free: 4.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1562, allocations: 4 kB / 0.6485 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1562, allocations: 0 / 0.6485 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1562, allocations: 0 / 0.6485 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.1563, allocations: 19.92 kB / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1563, allocations: 0 / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.1563, allocations: 0 / 0.6485 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1564, allocations: 0 / 0.6485 GB, free: 4.668 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 9.561e-05/0.1565, allocations: 118.7 kB / 0.6486 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.1565, allocations: 3.938 kB / 0.6486 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.1566, allocations: 77.58 kB / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1566, allocations: 0 / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1567, allocations: 128 / 0.6487 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1567, allocations: 4 kB / 0.6487 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.157, allocations: 319.3 kB / 0.649 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.157, allocations: 0 / 0.649 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.568e-05/0.1571, allocations: 16.02 kB / 0.649 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1571, allocations: 4 kB / 0.649 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1571, allocations: 4 kB / 0.649 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1571, allocations: 4 kB / 0.649 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1571, allocations: 0 / 0.649 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1573, allocations: 185.4 kB / 0.6492 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.1574, allocations: 85.12 kB / 0.6493 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1574, allocations: 64 / 0.6493 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.1575, allocations: 4 kB / 0.6493 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.1575, allocations: 7.984 kB / 0.6493 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1575, allocations: 4 kB / 0.6493 GB, free: 3.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.1575, allocations: 79.28 kB / 0.6494 GB, free: 3.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1575, allocations: 0 / 0.6494 GB, free: 3.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1578, allocations: 19.94 kB / 0.6494 GB, free: 3.637 MB / 494.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 (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.0005123/0.1583, allocations: 0.745 MB / 0.6501 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1584, allocations: 31.98 kB / 0.6501 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1584, allocations: 0 / 0.6501 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.1585, allocations: 15.94 kB / 0.6502 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1587, allocations: 9.391 kB / 0.6502 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1599, allocations: 1.327 MB / 0.6515 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1601, allocations: 0.6807 MB / 0.6521 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.1602, allocations: 16.34 kB / 0.6521 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.1602, allocations: 15.44 kB / 0.6522 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1602, allocations: 0 / 0.6522 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1803, allocations: 1.618 MB / 0.6537 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.965, allocations: 11.02 kB / 0.6538 GB, free: 15.21 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)