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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002308/0.002308, allocations: 287.2 kB / 309.8 MB, free: 3.426 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.008/1.008, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 95.86 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4838, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001487/0.4853, allocations: 0.5353 MB / 0.8283 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.4862, allocations: 0.6369 MB / 0.8289 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.4863, allocations: 0 / 0.8289 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.4863, allocations: 0 / 0.8289 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.4863, allocations: 0 / 0.8289 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.4868, allocations: 174.2 kB / 0.8291 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.752e-05/0.4869, allocations: 7.891 kB / 0.8291 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.4869, allocations: 3.844 kB / 0.8291 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.4869, allocations: 0 / 0.8291 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.4869, allocations: 7.359 kB / 0.8291 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.4869, allocations: 4 kB / 0.8291 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.4872, allocations: 207.2 kB / 0.8293 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.4872, allocations: 0 / 0.8293 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.4873, allocations: 0.6094 kB / 0.8293 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.4875, allocations: 132.6 kB / 0.8294 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4875, allocations: 2.625 kB / 0.8294 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4875, allocations: 0 / 0.8294 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.4875, allocations: 0 / 0.8294 GB, free: 2.105 MB / 0.5762 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.000256/0.4877, allocations: 350.7 kB / 0.8298 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.4878, allocations: 12.67 kB / 0.8298 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.552e-05/0.4878, allocations: 2.812 kB / 0.8298 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.505e-05/0.4878, allocations: 34.75 kB / 0.8298 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.4878, allocations: 5.672 kB / 0.8298 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.85e-05/0.4879, allocations: 161.2 kB / 0.83 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4879, allocations: 3 kB / 0.83 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.4879, allocations: 384 / 0.83 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/0.488, allocations: 40.19 kB / 0.83 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.488, allocations: 3.188 kB / 0.83 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.488, allocations: 4 kB / 0.83 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.488, allocations: 0 / 0.83 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.488, allocations: 7.828 kB / 0.83 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.4882, allocations: 151.2 kB / 0.8302 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.177e-05/0.4883, allocations: 38.92 kB / 0.8302 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.4883, allocations: 9.875 kB / 0.8302 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.4889, allocations: 0.6815 MB / 0.8309 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.4889, allocations: 41.88 kB / 0.8309 GB, free: 412 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4889, allocations: 0 / 0.8309 GB, free: 412 kB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001272/0.4891, allocations: 52.81 kB / 0.831 GB, free: 368 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.497e-05/0.4891, allocations: 51.41 kB / 0.831 GB, free: 304 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.502e-05/0.4891, allocations: 90.42 kB / 0.8311 GB, free: 204 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.4891, allocations: 32.27 kB / 0.8311 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.33e-05/0.4891, allocations: 80.14 kB / 0.8312 GB, free: 84 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4891, allocations: 9.453 kB / 0.8312 GB, free: 76 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.4892, allocations: 19.91 kB / 0.8313 GB, free: 56 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4893, allocations: 311.6 kB / 0.8316 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.4893, allocations: 7.328 kB / 0.8316 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.4894, allocations: 24.97 kB / 0.8316 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.4894, allocations: 21.77 kB / 0.8316 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4894, allocations: 0 / 0.8316 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.241e-05/0.4895, allocations: 50.66 kB / 0.8317 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4895, allocations: 8.969 kB / 0.8317 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4895, allocations: 0.6094 kB / 0.8317 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4895, allocations: 5.594 kB / 0.8317 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.007e-05/0.4895, allocations: 8.391 kB / 0.8317 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4895, allocations: 3.984 kB / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.4895, allocations: 7.875 kB / 0.8317 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4896, allocations: 2.094 kB / 0.8317 GB, free: 15.64 MB / 0.5919 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.862e-05/0.4896, allocations: 116.6 kB / 0.8318 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.4896, allocations: 3.938 kB / 0.8318 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.978e-05/0.4897, allocations: 48.38 kB / 0.8318 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4897, allocations: 4 kB / 0.8319 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4897, allocations: 0.9375 kB / 0.8319 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4897, allocations: 5.156 kB / 0.8319 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.4899, allocations: 156.6 kB / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4899, allocations: 3.938 kB / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.4899, allocations: 8.328 kB / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4899, allocations: 3.938 kB / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4899, allocations: 0 / 0.832 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4899, allocations: 3.938 kB / 0.832 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4899, allocations: 0.9375 kB / 0.832 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.49, allocations: 73.28 kB / 0.8321 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.4901, allocations: 81.72 kB / 0.8322 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.4901, allocations: 7.375 kB / 0.8322 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-06/0.4901, allocations: 0 / 0.8322 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.4901, allocations: 1.266 kB / 0.8322 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4901, allocations: 1.062 kB / 0.8322 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.4902, allocations: 75.94 kB / 0.8323 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4902, allocations: 3.938 kB / 0.8323 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002442/0.4904, allocations: 57.05 kB / 0.8323 GB, free: 14.99 MB / 0.5919 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.0005696/0.491, allocations: 0.6846 MB / 0.833 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.491, allocations: 13.16 kB / 0.833 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.491, allocations: 0 / 0.833 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.527e-05/0.4911, allocations: 18.25 kB / 0.833 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.4912, allocations: 0.6562 kB / 0.833 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.4921, allocations: 1.119 MB / 0.8341 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4924, allocations: 0.6749 MB / 0.8348 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.4924, allocations: 0.7031 kB / 0.8348 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.4924, allocations: 9.562 kB / 0.8348 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.4924, allocations: 0 / 0.8348 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.512, allocations: 2.226 MB / 0.8369 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.306, allocations: 9.953 kB / 0.837 GB, free: 12.07 MB / 0.5919 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: 12.093342011037748] Failed to read output from testmodel.py, exit status != 0: 8.427836459013633 8.453027461 7.960990243 Calling exit ...