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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00233/0.00233, allocations: 280 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.142/1.142, allocations: 180.9 MB / 0.5261 GB, free: 14.65 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 104.8 kB / 0.7248 GB, free: 39.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1728, allocations: 94.15 MB / 0.8167 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001637/0.1744, allocations: 0.5402 MB / 0.8172 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1756, allocations: 0.6374 MB / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.1756, allocations: 0 / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.1756, allocations: 0 / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.1756, allocations: 0 / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.1762, allocations: 167.5 kB / 0.818 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.832e-05/0.1763, allocations: 8 kB / 0.818 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1763, allocations: 3.984 kB / 0.818 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.51e-05/0.1763, allocations: 7.922 kB / 0.818 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.94e-05/0.1763, allocations: 7.938 kB / 0.818 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.1764, allocations: 0 / 0.818 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.1767, allocations: 195.7 kB / 0.8182 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.1767, allocations: 0 / 0.8182 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.1767, allocations: 3.984 kB / 0.8182 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1769, allocations: 131.9 kB / 0.8184 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1769, allocations: 0 / 0.8184 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1769, allocations: 4 kB / 0.8184 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1769, allocations: 0 / 0.8184 GB, free: 3.723 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.0003777/0.1773, allocations: 351.2 kB / 0.8187 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1774, allocations: 8.031 kB / 0.8187 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1774, allocations: 34.75 kB / 0.8187 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.916e-05/0.1774, allocations: 0.9375 kB / 0.8187 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1775, allocations: 164.4 kB / 0.8189 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.1775, allocations: 384 / 0.8189 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1776, allocations: 8.375 kB / 0.8189 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.1777, allocations: 34.27 kB / 0.8189 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1777, allocations: 7.922 kB / 0.819 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1777, allocations: 0 / 0.819 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1777, allocations: 3.938 kB / 0.819 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.1777, allocations: 11.98 kB / 0.819 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.178, allocations: 149.7 kB / 0.8191 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.178, allocations: 30.58 kB / 0.8191 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.1781, allocations: 12.98 kB / 0.8192 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.1791, allocations: 0.6805 MB / 0.8198 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.1791, allocations: 42.55 kB / 0.8199 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1791, allocations: 3.938 kB / 0.8199 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.1793, allocations: 45.62 kB / 0.8199 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1793, allocations: 59.34 kB / 0.82 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.1793, allocations: 89.86 kB / 0.82 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1794, allocations: 29.64 kB / 0.8201 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.1794, allocations: 84.12 kB / 0.8202 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1794, allocations: 11.91 kB / 0.8202 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.1795, allocations: 13.72 kB / 0.8202 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1796, allocations: 322.8 kB / 0.8205 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.1796, allocations: 4 kB / 0.8205 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.1797, allocations: 13.72 kB / 0.8205 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.1797, allocations: 29.66 kB / 0.8205 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1797, allocations: 0 / 0.8205 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.578e-05/0.1798, allocations: 53.62 kB / 0.8206 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1798, allocations: 8.031 kB / 0.8206 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1798, allocations: 3.938 kB / 0.8206 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1798, allocations: 3.984 kB / 0.8206 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.155e-05/0.1799, allocations: 8 kB / 0.8206 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1799, allocations: 3.984 kB / 0.8206 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.1799, allocations: 0 / 0.8206 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1799, allocations: 4 kB / 0.8206 GB, free: 1.031 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.902e-05/0.18, allocations: 105.8 kB / 0.8207 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-06/0.18, allocations: 0 / 0.8207 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.1801, allocations: 65.06 kB / 0.8208 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1801, allocations: 3.984 kB / 0.8208 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1801, allocations: 0 / 0.8208 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1801, allocations: 0 / 0.8208 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1802, allocations: 149.6 kB / 0.8209 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1802, allocations: 0 / 0.8209 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.1803, allocations: 11.98 kB / 0.8209 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1803, allocations: 0 / 0.8209 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1803, allocations: 7.938 kB / 0.8209 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1803, allocations: 0 / 0.8209 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1803, allocations: 4 kB / 0.8209 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1804, allocations: 73.48 kB / 0.821 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1804, allocations: 81.06 kB / 0.8211 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1805, allocations: 11.95 kB / 0.8211 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.1805, allocations: 3.938 kB / 0.8211 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.1805, allocations: 0 / 0.8211 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1805, allocations: 3.938 kB / 0.8211 GB, free: 428 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.1805, allocations: 79.22 kB / 0.8212 GB, free: 348 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1805, allocations: 8.062 kB / 0.8212 GB, free: 340 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002424/0.1808, allocations: 47.86 kB / 0.8212 GB, free: 292 kB / 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.0006138/0.1814, allocations: 0.6709 MB / 0.8219 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.989e-05/0.1815, allocations: 24.05 kB / 0.8219 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1815, allocations: 4 kB / 0.8219 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.1815, allocations: 4 kB / 0.8219 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1816, allocations: 0.9375 kB / 0.8219 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1826, allocations: 1.126 MB / 0.823 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1829, allocations: 0.6729 MB / 0.8237 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.183, allocations: 4 kB / 0.8237 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.183, allocations: 11.44 kB / 0.8237 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.183, allocations: 4 kB / 0.8237 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2084, allocations: 2.132 MB / 0.8258 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.478, allocations: 9.25 kB / 0.8258 GB, free: 11.6 MB / 0.5762 GB " [Timeout remaining time 652] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.331931008026004] Failed to read output from testmodel.py, exit status != 0: 7.544004676863551 7.559330997 7.379635471 Calling exit ...