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.004866/0.004866, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001306/0.001306, allocations: 188 kB / 16.67 MB, free: 5.918 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 279 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002687/0.002687, allocations: 99.83 kB / 0.6943 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4441, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001589/0.4457, allocations: 0.539 MB / 0.7819 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.4467, allocations: 0.6364 MB / 0.7825 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.138e-05/0.4468, allocations: 0 / 0.7825 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.4468, allocations: 0 / 0.7825 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.4468, allocations: 0 / 0.7825 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.4474, allocations: 172.9 kB / 0.7826 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.361e-05/0.4474, allocations: 5.281 kB / 0.7826 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.4475, allocations: 1.984 kB / 0.7826 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.283e-05/0.4475, allocations: 1.625 kB / 0.7827 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.716e-05/0.4475, allocations: 1.984 kB / 0.7827 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.395e-06/0.4475, allocations: 0 / 0.7827 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.4479, allocations: 199 kB / 0.7828 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.4479, allocations: 8.062 kB / 0.7828 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.4479, allocations: 0 / 0.7828 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.4482, allocations: 126.5 kB / 0.783 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4482, allocations: 4.516 kB / 0.783 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.506e-06/0.4482, allocations: 0 / 0.783 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.4482, allocations: 3.938 kB / 0.783 GB, free: 12.92 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.0003752/0.4486, allocations: 350.8 kB / 0.7833 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.4486, allocations: 10.75 kB / 0.7833 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.4487, allocations: 31.41 kB / 0.7834 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.4487, allocations: 5.406 kB / 0.7834 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.4488, allocations: 161 kB / 0.7835 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.4488, allocations: 11.47 kB / 0.7835 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.4488, allocations: 8.312 kB / 0.7835 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.4489, allocations: 34 kB / 0.7836 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.449, allocations: 3.938 kB / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.449, allocations: 0 / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.449, allocations: 0 / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.353e-05/0.449, allocations: 12.06 kB / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.4492, allocations: 153.2 kB / 0.7837 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.655e-05/0.4493, allocations: 33.62 kB / 0.7838 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.4494, allocations: 13 kB / 0.7838 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008868/0.4502, allocations: 0.6801 MB / 0.7844 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.4503, allocations: 35.69 kB / 0.7845 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4503, allocations: 0 / 0.7845 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000131/0.4504, allocations: 48.2 kB / 0.7845 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4505, allocations: 53.59 kB / 0.7846 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.125e-05/0.4505, allocations: 89.86 kB / 0.7847 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4505, allocations: 30.55 kB / 0.7847 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.4506, allocations: 85.23 kB / 0.7848 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4506, allocations: 6.172 kB / 0.7848 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.4507, allocations: 25.33 kB / 0.7848 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4508, allocations: 313.4 kB / 0.7851 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.4508, allocations: 7.531 kB / 0.7851 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.4508, allocations: 19.31 kB / 0.7851 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.4509, allocations: 28.14 kB / 0.7851 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4509, allocations: 0 / 0.7851 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.626e-05/0.451, allocations: 58 kB / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.451, allocations: 5.766 kB / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.451, allocations: 5.562 kB / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.451, allocations: 0 / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/0.4511, allocations: 6.797 kB / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4511, allocations: 1.562 kB / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.4511, allocations: 0.7031 kB / 0.7852 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.4511, allocations: 1.5 kB / 0.7852 GB, free: 10.46 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 7.681e-05/0.4512, allocations: 112.7 kB / 0.7853 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.4512, allocations: 9.625 kB / 0.7853 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.4513, allocations: 51.58 kB / 0.7854 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4513, allocations: 0 / 0.7854 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4513, allocations: 1.594 kB / 0.7854 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4513, allocations: 4.453 kB / 0.7854 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.4515, allocations: 153.2 kB / 0.7855 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4515, allocations: 0 / 0.7855 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.4515, allocations: 9.234 kB / 0.7855 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4515, allocations: 1.062 kB / 0.7855 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.4515, allocations: 4.547 kB / 0.7855 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4515, allocations: 5.156 kB / 0.7856 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4515, allocations: 0 / 0.7856 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.4517, allocations: 72.56 kB / 0.7856 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.4517, allocations: 79.77 kB / 0.7857 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.4517, allocations: 3.938 kB / 0.7857 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.4517, allocations: 1.641 kB / 0.7857 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.4518, allocations: 6.156 kB / 0.7857 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4518, allocations: 0.6719 kB / 0.7857 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.4518, allocations: 80.75 kB / 0.7858 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4518, allocations: 0 / 0.7858 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002509/0.4521, allocations: 43.45 kB / 0.7858 GB, free: 9.824 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.0005832/0.4526, allocations: 0.6953 MB / 0.7865 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.4527, allocations: 19.52 kB / 0.7865 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4527, allocations: 1.219 kB / 0.7865 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.4528, allocations: 5.531 kB / 0.7865 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.4529, allocations: 11.69 kB / 0.7865 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.4538, allocations: 1.111 MB / 0.7876 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.4541, allocations: 0.6748 MB / 0.7883 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.4541, allocations: 1.75 kB / 0.7883 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.4542, allocations: 14.7 kB / 0.7883 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.4542, allocations: 0 / 0.7883 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.4787, allocations: 2.128 MB / 0.7904 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/8.023, allocations: 7.312 kB / 0.7904 GB, free: 6.902 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)