Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.0008143/0.0008143, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007597/0.0007597, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8526/0.8526, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001504/0.001504, allocations: 225.1 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.6443/0.6443, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.7 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.6476 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.483e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001132/0.001157, allocations: 0.5876 MB / 0.6482 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003255/0.001482, allocations: 180 kB / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.084e-05/0.001493, allocations: 0 / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.001508, allocations: 0 / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.001514, allocations: 0 / 0.6483 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.001844, allocations: 55.75 kB / 0.6484 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 3.652e-05/0.00188, allocations: 4 kB / 0.6484 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.001914, allocations: 0 / 0.6484 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.001936, allocations: 7.938 kB / 0.6484 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.46e-05/0.001961, allocations: 3.984 kB / 0.6484 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.00197, allocations: 0 / 0.6484 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.002101, allocations: 51.95 kB / 0.6484 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.002112, allocations: 3.984 kB / 0.6484 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.002125, allocations: 0 / 0.6484 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.002224, allocations: 43.94 kB / 0.6485 GB, free: 408 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002226, allocations: 0 / 0.6485 GB, free: 408 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002227, allocations: 0 / 0.6485 GB, free: 408 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.00223, allocations: 3.938 kB / 0.6485 GB, free: 404 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002043/0.002434, allocations: 246.3 kB / 0.6487 GB, free: 124 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.002467, allocations: 13.94 kB / 0.6487 GB, free: 112 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.002492, allocations: 0.9375 kB / 0.6487 GB, free: 112 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2123/0.2148, allocations: 102.7 kB / 0.6488 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2149, allocations: 4.656 kB / 0.6488 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.2149, allocations: 3.031 kB / 0.6488 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.685e-05/0.215, allocations: 27.2 kB / 0.6489 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.215, allocations: 192 / 0.6489 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.215, allocations: 3.531 kB / 0.6489 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.215, allocations: 1.125 kB / 0.6489 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.215, allocations: 1.344 kB / 0.6489 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.853e-05/0.2151, allocations: 102.7 kB / 0.649 GB, free: 57.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.2151, allocations: 20.38 kB / 0.649 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.2151, allocations: 6.469 kB / 0.649 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/0.2156, allocations: 78.03 kB / 0.6491 GB, free: 57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.2156, allocations: 36.03 kB / 0.6491 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2156, allocations: 0 / 0.6491 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.000108/0.2157, allocations: 33.59 kB / 0.6491 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.2157, allocations: 59.12 kB / 0.6492 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.217e-05/0.2157, allocations: 91.2 kB / 0.6493 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.2157, allocations: 26.89 kB / 0.6493 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-06/0.2157, allocations: 81.36 kB / 0.6494 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.2157, allocations: 1.562 kB / 0.6494 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.2158, allocations: 13.77 kB / 0.6494 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.851e-05/0.2158, allocations: 319.8 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.2158, allocations: 2.812 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.2158, allocations: 2.953 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.981e-05/0.2158, allocations: 9.359 kB / 0.6497 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2158, allocations: 1.062 kB / 0.6497 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.893e-05/0.2159, allocations: 41.38 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2159, allocations: 5.062 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2159, allocations: 0.8125 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2159, allocations: 1.281 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.2159, allocations: 1.906 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2159, allocations: 1.281 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-06/0.2159, allocations: 0.8125 kB / 0.6498 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.2159, allocations: 1.25 kB / 0.6498 GB, free: 56.28 MB / 0.5573 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 (1): * Single equations (assignments): 1 * 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 3.039e-05/0.216, allocations: 113.2 kB / 0.6499 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-06/0.216, allocations: 3.734 kB / 0.6499 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.216, allocations: 41.91 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.216, allocations: 2.609 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.216, allocations: 2.844 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.216, allocations: 4.625 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.811e-05/0.2161, allocations: 100.1 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2161, allocations: 0.6094 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-06/0.2161, allocations: 1.625 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2161, allocations: 1.203 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.2161, allocations: 0 / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2161, allocations: 1.188 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.2161, allocations: 1.906 kB / 0.65 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.282e-05/0.2161, allocations: 64.36 kB / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.2161, allocations: 4.812 kB / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.2161, allocations: 1.141 kB / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-06/0.2161, allocations: 0 / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.2161, allocations: 5.422 kB / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.2161, allocations: 3.375 kB / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.967e-06/0.2161, allocations: 79.12 kB / 0.6502 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2161, allocations: 0 / 0.6502 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001297/0.2163, allocations: 16.17 kB / 0.6502 GB, free: 55.86 MB / 0.5573 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 (1): * Single equations (assignments): 1 * 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.0001495/0.2164, allocations: 119.4 kB / 0.6503 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.357e-05/0.2165, allocations: 7.766 kB / 0.6503 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2165, allocations: 0.7188 kB / 0.6503 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.2165, allocations: 6.375 kB / 0.6503 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.908e-05/0.2166, allocations: 7.625 kB / 0.6503 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.2167, allocations: 107.2 kB / 0.6504 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.18e-05/0.2167, allocations: 54.56 kB / 0.6505 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.2167, allocations: 9.859 kB / 0.6505 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of SimCode: time 4.3e-07/0.2167, allocations: 0.75 kB / 0.6505 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of Templates: time 0.001418/0.2182, allocations: 0.5585 MB / 0.6511 GB, free: 55.58 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.991982223466039] Failed to read output from testmodel.py, exit status != 0: 0.22303634975105524 0.23012167200000003 0.226406338 Calling exit ...