Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",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.001039/0.001039, allocations: 112.5 kB / 15.73 MB, free: 76 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.001056/0.001057, allocations: 188.3 kB / 16.66 MB, free: 6.582 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 282.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9028/0.9028, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 103.9 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1507, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.00155/0.1522, allocations: 0.5305 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.1533, allocations: 0.6238 MB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.416e-05/0.1533, allocations: 0 / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.1533, allocations: 0 / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.1534, allocations: 0 / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.154, allocations: 167.5 kB / 0.7672 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.958e-05/0.154, allocations: 8 kB / 0.7672 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.1541, allocations: 7.984 kB / 0.7672 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.393e-05/0.1541, allocations: 4 kB / 0.7672 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.1541, allocations: 3.938 kB / 0.7672 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1541, allocations: 0 / 0.7672 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.1545, allocations: 199.7 kB / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1545, allocations: 0 / 0.7674 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.1545, allocations: 3.984 kB / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1547, allocations: 123.9 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1548, allocations: 4 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1548, allocations: 0 / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1548, allocations: 7.938 kB / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003111/0.1551, allocations: 347.2 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1551, allocations: 8.031 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.1552, allocations: 34.75 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.1552, allocations: 8.875 kB / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.1553, allocations: 160.4 kB / 0.7681 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1553, allocations: 4.312 kB / 0.7681 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.1553, allocations: 4.375 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.1554, allocations: 42.23 kB / 0.7681 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1554, allocations: 7.938 kB / 0.7681 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.1554, allocations: 0 / 0.7681 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.1554, allocations: 0 / 0.7681 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.1555, allocations: 8 kB / 0.7681 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.1557, allocations: 153.7 kB / 0.7683 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.1558, allocations: 34.52 kB / 0.7683 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.1558, allocations: 8.984 kB / 0.7683 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/0.1566, allocations: 0.6882 MB / 0.769 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1566, allocations: 38.55 kB / 0.769 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1566, allocations: 4 kB / 0.769 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001265/0.1568, allocations: 49.62 kB / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.1568, allocations: 51.41 kB / 0.7691 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.981e-05/0.1568, allocations: 89.86 kB / 0.7692 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1568, allocations: 25.7 kB / 0.7692 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.1569, allocations: 88.06 kB / 0.7693 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1569, allocations: 8.469 kB / 0.7693 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.1569, allocations: 13.72 kB / 0.7693 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.157, allocations: 318.8 kB / 0.7696 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.157, allocations: 8 kB / 0.7696 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.1571, allocations: 13.72 kB / 0.7697 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.1571, allocations: 21.72 kB / 0.7697 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1571, allocations: 0 / 0.7697 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.334e-05/0.1572, allocations: 57.58 kB / 0.7697 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1572, allocations: 4 kB / 0.7697 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1572, allocations: 7.969 kB / 0.7697 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1572, allocations: 3.984 kB / 0.7697 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.1573, allocations: 8 kB / 0.7698 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1573, allocations: 0 / 0.7698 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.1573, allocations: 7.938 kB / 0.7698 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1573, allocations: 4 kB / 0.7698 GB, free: 4.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.985e-05/0.1574, allocations: 106.5 kB / 0.7699 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-06/0.1574, allocations: 3.938 kB / 0.7699 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.1575, allocations: 61.39 kB / 0.7699 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1575, allocations: 3.984 kB / 0.7699 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1575, allocations: 0 / 0.7699 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1575, allocations: 4.031 kB / 0.7699 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1576, allocations: 149.7 kB / 0.7701 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1577, allocations: 0 / 0.7701 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1577, allocations: 7.984 kB / 0.7701 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1577, allocations: 0 / 0.7701 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1577, allocations: 7.938 kB / 0.7701 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1577, allocations: 0 / 0.7701 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1577, allocations: 0 / 0.7701 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.898e-05/0.1578, allocations: 81 kB / 0.7702 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.1579, allocations: 81.14 kB / 0.7703 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1579, allocations: 7.922 kB / 0.7703 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-06/0.1579, allocations: 0 / 0.7703 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.1579, allocations: 0 / 0.7703 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1579, allocations: 4 kB / 0.7703 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.158, allocations: 79.28 kB / 0.7703 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.158, allocations: 64 / 0.7703 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002483/0.1582, allocations: 55.8 kB / 0.7704 GB, free: 3.828 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.0005002/0.1587, allocations: 0.6748 MB / 0.7711 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.731e-05/0.1588, allocations: 19.98 kB / 0.7711 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1588, allocations: 4.125 kB / 0.7711 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.1588, allocations: 4 kB / 0.7711 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.159, allocations: 7.938 kB / 0.7711 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.1598, allocations: 1.119 MB / 0.7722 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.16, allocations: 0.6768 MB / 0.7728 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.1601, allocations: 11.92 kB / 0.7729 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1601, allocations: 7.438 kB / 0.7729 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1601, allocations: 0 / 0.7729 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/0.4495, allocations: 2.11 MB / 0.7749 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.524, allocations: 7.547 kB / 0.7749 GB, free: 14.27 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)