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.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 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.001462/0.001462, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.241/1.241, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 270.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9197/0.9197, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 99.88 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1334, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.00156/0.135, allocations: 0.5131 MB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.136, allocations: 0.6294 MB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.136, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.136, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.189e-06/0.136, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1366, allocations: 170.3 kB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.556e-05/0.1366, allocations: 7.984 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.1366, allocations: 4 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.1367, allocations: 7.922 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.646e-05/0.1367, allocations: 0 / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1367, allocations: 4 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.137, allocations: 192.5 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.137, allocations: 0 / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.1371, allocations: 4.625 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1373, allocations: 131.7 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1373, allocations: 0.875 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1373, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1373, allocations: 0.5312 kB / 0.6819 GB, free: 14.94 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.0003244/0.1377, allocations: 344.9 kB / 0.6822 GB, free: 14.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1377, allocations: 12.03 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.1377, allocations: 31.75 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1378, allocations: 4.922 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.1379, allocations: 168.3 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1379, allocations: 8.375 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1379, allocations: 384 / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.138, allocations: 38.2 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.138, allocations: 3.938 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.138, allocations: 0 / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.138, allocations: 0 / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.1381, allocations: 11.92 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.1383, allocations: 161.7 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.1384, allocations: 30.58 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.1384, allocations: 16.92 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/0.1392, allocations: 0.6844 MB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1393, allocations: 30.56 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1393, allocations: 0 / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001366/0.1394, allocations: 53.56 kB / 0.6834 GB, free: 13.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1395, allocations: 55.39 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.988e-05/0.1395, allocations: 89.86 kB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1395, allocations: 25.7 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.1396, allocations: 84.14 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1396, allocations: 19.8 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.1396, allocations: 13.72 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.1397, allocations: 310.8 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.1398, allocations: 11.98 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.1398, allocations: 13.72 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.1398, allocations: 25.66 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1398, allocations: 4 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.34e-05/0.1399, allocations: 45.69 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1399, allocations: 4 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.14, allocations: 11.88 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.14, allocations: 0 / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.244e-05/0.14, allocations: 11.98 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.14, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.14, allocations: 4.328 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.14, allocations: 0 / 0.6841 GB, free: 12.25 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.32e-05/0.1401, allocations: 111.2 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.1401, allocations: 4 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.259e-05/0.1402, allocations: 57.09 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1402, allocations: 3.938 kB / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1402, allocations: 0 / 0.6843 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1402, allocations: 3.984 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1404, allocations: 157.6 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1404, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.1404, allocations: 11.92 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1404, allocations: 4 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1404, allocations: 3.938 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1404, allocations: 0 / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1405, allocations: 0 / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1406, allocations: 77.03 kB / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.1406, allocations: 81.05 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1406, allocations: 3.938 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.1406, allocations: 0 / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.1406, allocations: 12.08 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1407, allocations: 4 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.141e-05/0.1407, allocations: 79.22 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1407, allocations: 0 / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1409, allocations: 47.98 kB / 0.6848 GB, free: 11.5 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.0005082/0.1415, allocations: 0.6751 MB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.109e-05/0.1415, allocations: 19.92 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1416, allocations: 0 / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.371e-05/0.1416, allocations: 8.094 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.1417, allocations: 96 / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.1426, allocations: 1.116 MB / 0.6866 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1428, allocations: 0.6768 MB / 0.6872 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.1428, allocations: 7.938 kB / 0.6872 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.1428, allocations: 15.38 kB / 0.6872 GB, free: 8.832 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1429, allocations: 0 / 0.6872 GB, free: 8.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.1596, allocations: 2.102 MB / 0.6893 GB, free: 6.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.842/9.002, allocations: 10 kB / 0.6893 GB, free: 6.824 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)