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.001476/0.001476, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.00167/0.00167, allocations: 192.2 kB / 16.25 MB, free: 6.156 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 283.1 kB / 290.3 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 92.92 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1692, allocations: 86.97 MB / 0.6797 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001721/0.171, allocations: 0.5877 MB / 0.6803 GB, free: 340 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1722, allocations: 0.6268 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.085e-05/0.1722, allocations: 4 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.1722, allocations: 0 / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.211e-06/0.1722, allocations: 0 / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.1728, allocations: 151.7 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.644e-05/0.1728, allocations: 8 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.1729, allocations: 0 / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.1729, allocations: 3.938 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.94e-05/0.1729, allocations: 4 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.1729, allocations: 0 / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.1733, allocations: 207.7 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.1733, allocations: 3.938 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.1733, allocations: 7.984 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1735, allocations: 127.7 kB / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1735, allocations: 0 / 0.6814 GB, free: 15.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1735, allocations: 4 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1735, allocations: 3.984 kB / 0.6814 GB, free: 15.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003097/0.1739, allocations: 347.9 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1739, allocations: 8.031 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.1739, allocations: 30.75 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.174, allocations: 4.938 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.1741, allocations: 168.3 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1741, allocations: 384 / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1741, allocations: 4.359 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.1742, allocations: 34.27 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1742, allocations: 3.938 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.1742, allocations: 7.938 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1742, allocations: 4 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.1743, allocations: 7.984 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.1745, allocations: 157.7 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.643e-05/0.1746, allocations: 26.58 kB / 0.6822 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.1746, allocations: 12.86 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008967/0.1755, allocations: 0.6805 MB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1755, allocations: 42.5 kB / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1756, allocations: 0 / 0.6829 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.1757, allocations: 49.62 kB / 0.683 GB, free: 13.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1757, allocations: 51.41 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.426e-05/0.1758, allocations: 93.86 kB / 0.6831 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1758, allocations: 29.7 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.1758, allocations: 80.14 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1759, allocations: 11.8 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1759, allocations: 21.72 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.176, allocations: 310.8 kB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.176, allocations: 4 kB / 0.6835 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.176, allocations: 21.7 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.1761, allocations: 25.66 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1761, allocations: 0 / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.3e-05/0.1762, allocations: 53.97 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1762, allocations: 14.03 kB / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1762, allocations: 3.938 kB / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1762, allocations: 0 / 0.6836 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.97e-05/0.1763, allocations: 4 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.1763, allocations: 7.984 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.1763, allocations: 3.938 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1763, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB 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 6.792e-05/0.1764, allocations: 115.2 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.1764, allocations: 0 / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.1765, allocations: 61.05 kB / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1765, allocations: 0 / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1765, allocations: 4 kB / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1765, allocations: 0 / 0.6838 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.1766, allocations: 157.6 kB / 0.684 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1767, allocations: 0 / 0.684 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.1767, allocations: 8 kB / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1767, allocations: 0 / 0.684 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1767, allocations: 3.938 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1767, allocations: 3.984 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1767, allocations: 4 kB / 0.684 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1768, allocations: 73.03 kB / 0.6841 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.1769, allocations: 81.05 kB / 0.6842 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1769, allocations: 7.875 kB / 0.6842 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.215e-05/0.1769, allocations: 8.031 kB / 0.6842 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.1769, allocations: 0 / 0.6842 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1769, allocations: 3.984 kB / 0.6842 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.177, allocations: 79.34 kB / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.177, allocations: 0 / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1772, allocations: 44 kB / 0.6843 GB, free: 11.76 MB / 494.1 MB 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.0005744/0.1778, allocations: 0.6828 MB / 0.685 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.629e-05/0.1779, allocations: 27.98 kB / 0.685 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1779, allocations: 0 / 0.685 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.1779, allocations: 8 kB / 0.685 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1781, allocations: 0 / 0.685 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.179, allocations: 1.116 MB / 0.6861 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1794, allocations: 0.6768 MB / 0.6867 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.818e-05/0.1794, allocations: 3.938 kB / 0.6867 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.1794, allocations: 11.44 kB / 0.6868 GB, free: 9.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1794, allocations: 4 kB / 0.6868 GB, free: 9.086 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.1932, allocations: 2.016 MB / 0.6887 GB, free: 7.211 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.1934, allocations: 216.2 kB / 0.6889 GB, free: 6.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.023, allocations: 0 / 0.6889 GB, free: 6.961 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)