Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.001799/0.001799, allocations: 119.1 kB / 17.13 MB, free: 5.918 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.002105/0.002105, allocations: 197.2 kB / 20.08 MB, free: 2.984 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.363/1.363, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.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.002248/0.002248, allocations: 279.4 kB / 303.6 MB, free: 3.73 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.002/1.002, allocations: 180.9 MB / 0.5268 GB, free: 2.688 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: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002729/0.002729, allocations: 99.84 kB / 0.7259 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4767, allocations: 94.16 MB / 0.8179 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002095/0.4788, allocations: 1.441 MB / 0.8193 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004452/0.4792, allocations: 259.8 kB / 0.8195 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.4793, allocations: 0 / 0.8195 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.4793, allocations: 12.34 kB / 0.8195 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.4793, allocations: 0 / 0.8195 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.4796, allocations: 64.44 kB / 0.8196 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.4797, allocations: 16.38 kB / 0.8196 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.232e-05/0.4798, allocations: 9.828 kB / 0.8196 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.4798, allocations: 7.625 kB / 0.8196 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.4798, allocations: 9.734 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.4798, allocations: 2.375 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.48, allocations: 68.92 kB / 0.8197 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.48, allocations: 4.812 kB / 0.8197 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.48, allocations: 10.25 kB / 0.8197 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.4801, allocations: 54.62 kB / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4801, allocations: 0 / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4801, allocations: 0 / 0.8198 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4801, allocations: 0.9062 kB / 0.8198 GB, free: 6.152 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.0003558/0.4805, allocations: 350 kB / 0.8201 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.4805, allocations: 9.062 kB / 0.8201 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.4806, allocations: 2.031 kB / 0.8201 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/0.4806, allocations: 169.8 kB / 0.8203 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4806, allocations: 9.359 kB / 0.8203 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.4807, allocations: 1.438 kB / 0.8203 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.4808, allocations: 50.19 kB / 0.8203 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4808, allocations: 192 / 0.8203 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.4808, allocations: 3.938 kB / 0.8203 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4808, allocations: 1.062 kB / 0.8203 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.481, allocations: 33.59 kB / 0.8204 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.4812, allocations: 246.7 kB / 0.8206 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4813, allocations: 46.17 kB / 0.8207 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.4814, allocations: 24.8 kB / 0.8207 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.4819, allocations: 461.6 kB / 0.8211 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.4819, allocations: 31.97 kB / 0.8212 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4819, allocations: 0 / 0.8212 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003141/0.4822, allocations: 85.95 kB / 0.8212 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.4823, allocations: 59.38 kB / 0.8213 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.05e-05/0.4823, allocations: 101.7 kB / 0.8214 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.4823, allocations: 26.8 kB / 0.8214 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.4823, allocations: 83.17 kB / 0.8215 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.4824, allocations: 7.891 kB / 0.8215 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.4824, allocations: 16.28 kB / 0.8215 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.4824, allocations: 315.5 kB / 0.8218 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.4825, allocations: 20.42 kB / 0.8218 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.4826, allocations: 16.23 kB / 0.8219 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.4827, allocations: 33.94 kB / 0.8219 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4827, allocations: 4.203 kB / 0.8219 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001693/0.4829, allocations: 74.25 kB / 0.822 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4829, allocations: 5.406 kB / 0.822 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.4829, allocations: 0 / 0.822 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4829, allocations: 0.9688 kB / 0.822 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.483, allocations: 14 kB / 0.822 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.483, allocations: 0 / 0.822 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.483, allocations: 3.344 kB / 0.822 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.483, allocations: 0.9062 kB / 0.822 GB, free: 3.957 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 4.107e-05/0.4831, allocations: 118.9 kB / 0.8221 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.4831, allocations: 5.703 kB / 0.8221 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.4833, allocations: 71.31 kB / 0.8222 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4833, allocations: 1.094 kB / 0.8222 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4833, allocations: 7.938 kB / 0.8222 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4833, allocations: 0 / 0.8222 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.4834, allocations: 158.2 kB / 0.8223 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4834, allocations: 3.281 kB / 0.8223 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.4834, allocations: 10.44 kB / 0.8223 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4834, allocations: 0 / 0.8223 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.4834, allocations: 4.547 kB / 0.8223 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4834, allocations: 3.938 kB / 0.8223 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4834, allocations: 0 / 0.8223 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.4836, allocations: 160.5 kB / 0.8225 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.4836, allocations: 83.25 kB / 0.8226 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.4837, allocations: 0 / 0.8226 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.4837, allocations: 10.25 kB / 0.8226 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.4838, allocations: 1.438 kB / 0.8226 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.4838, allocations: 5.422 kB / 0.8226 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.764e-05/0.4838, allocations: 78.06 kB / 0.8227 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4838, allocations: 0 / 0.8227 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002255/0.484, allocations: 21.25 kB / 0.8227 GB, free: 3.258 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.0001661/0.4842, allocations: 120.1 kB / 0.8228 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.4844, allocations: 38.14 kB / 0.8228 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4844, allocations: 1.344 kB / 0.8228 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.4844, allocations: 21.47 kB / 0.8229 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.4847, allocations: 12.5 kB / 0.8229 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.4849, allocations: 125 kB / 0.823 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.168e-05/0.485, allocations: 0.6761 MB / 0.8237 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.485, allocations: 13.75 kB / 0.8237 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.485, allocations: 0 / 0.8237 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.002429/0.4874, allocations: 0.7751 MB / 0.8244 GB, free: 2.246 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.040197906084359] Failed to read output from testmodel.py, exit status != 0: 0.4944729618728161 0.505488991 0.022384923 Calling exit ...