Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.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.001318/0.001318, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001986/0.001986, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 8.02 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.002726/0.002726, allocations: 277.2 kB / 312.7 MB, free: 2.824 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.29/1.29, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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 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.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",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.004548/0.004548, allocations: 105.2 kB / 0.7396 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2426, allocations: 95.38 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002873/0.2455, allocations: 1.471 MB / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004597/0.246, allocations: 156.4 kB / 0.8343 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.246, allocations: 0 / 0.8343 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.246, allocations: 3.938 kB / 0.8343 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.2461, allocations: 4 kB / 0.8343 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.2464, allocations: 35.84 kB / 0.8344 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.2465, allocations: 19.98 kB / 0.8344 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.274e-05/0.2465, allocations: 4 kB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.2466, allocations: 23.91 kB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.2466, allocations: 7.938 kB / 0.8344 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2466, allocations: 4 kB / 0.8344 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2468, allocations: 43.95 kB / 0.8345 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.2468, allocations: 7.938 kB / 0.8345 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.2468, allocations: 3.984 kB / 0.8345 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2469, allocations: 56.03 kB / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2469, allocations: 0 / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2469, allocations: 0 / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2469, allocations: 4 kB / 0.8345 GB, free: 6.777 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.0004332/0.2474, allocations: 262.3 kB / 0.8348 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2474, allocations: 13.34 kB / 0.8348 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.2475, allocations: 30.75 kB / 0.8348 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.2475, allocations: 8.891 kB / 0.8348 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2476, allocations: 114.5 kB / 0.8349 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2476, allocations: 384 / 0.8349 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.2476, allocations: 384 / 0.8349 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2478, allocations: 50.23 kB / 0.835 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2478, allocations: 15.86 kB / 0.835 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2478, allocations: 0 / 0.835 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.2478, allocations: 7.938 kB / 0.835 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.248, allocations: 27.97 kB / 0.835 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2483, allocations: 220 kB / 0.8353 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2485, allocations: 38.5 kB / 0.8353 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.2485, allocations: 28.84 kB / 0.8353 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.2487, allocations: 7.984 kB / 0.8353 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2487, allocations: 34.5 kB / 0.8354 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2487, allocations: 0 / 0.8354 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003653/0.2491, allocations: 85.64 kB / 0.8354 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2491, allocations: 51.41 kB / 0.8355 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.2492, allocations: 101.8 kB / 0.8356 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2492, allocations: 25.7 kB / 0.8356 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.2493, allocations: 84.09 kB / 0.8357 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.2493, allocations: 11.95 kB / 0.8357 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.2493, allocations: 9.719 kB / 0.8357 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2495, allocations: 323 kB / 0.836 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.2496, allocations: 15.98 kB / 0.836 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.2496, allocations: 11.98 kB / 0.836 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.2498, allocations: 40.77 kB / 0.8361 GB, free: 5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2498, allocations: 3.938 kB / 0.8361 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.25, allocations: 73.72 kB / 0.8362 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.25, allocations: 4 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.25, allocations: 0 / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.25, allocations: 0 / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.187e-05/0.2501, allocations: 11.98 kB / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2501, allocations: 0 / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.2501, allocations: 7.984 kB / 0.8362 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2501, allocations: 0 / 0.8362 GB, free: 4.895 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.778e-05/0.2502, allocations: 114.5 kB / 0.8363 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2503, allocations: 4 kB / 0.8363 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.2505, allocations: 72.91 kB / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2505, allocations: 0 / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.2505, allocations: 0 / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2505, allocations: 0 / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2507, allocations: 144.6 kB / 0.8365 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2507, allocations: 4.031 kB / 0.8365 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.2507, allocations: 7.984 kB / 0.8365 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2507, allocations: 0 / 0.8365 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2508, allocations: 4 kB / 0.8365 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2508, allocations: 0 / 0.8365 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2508, allocations: 4 kB / 0.8365 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.251, allocations: 175.3 kB / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.251, allocations: 0 / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.251, allocations: 0 / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.2511, allocations: 7.984 kB / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.2511, allocations: 0 / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2512, allocations: 7.938 kB / 0.8367 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.2512, allocations: 79.28 kB / 0.8368 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2512, allocations: 0 / 0.8368 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002305/0.2514, allocations: 15.94 kB / 0.8368 GB, free: 4.188 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0006891/0.2521, allocations: 0.7104 MB / 0.8375 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2523, allocations: 43.98 kB / 0.8375 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2523, allocations: 0 / 0.8375 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.2524, allocations: 11.98 kB / 0.8375 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2527, allocations: 14.39 kB / 0.8376 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.2532, allocations: 135.3 kB / 0.8377 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.2535, allocations: 0.6807 MB / 0.8383 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.2535, allocations: 0 / 0.8383 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.2536, allocations: 11.42 kB / 0.8384 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2536, allocations: 3.938 kB / 0.8384 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.2839, allocations: 1.622 MB / 0.8399 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.99, allocations: 5.812 kB / 0.84 GB, free: 1 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_ExponentialIntegralE1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.217476235004142] Failed to read output from testmodel.py, exit status != 0: 11.090733935125172 11.105537122 10.855608585 Calling exit ...