Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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.00131/0.00131, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001918/0.001918, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.421/1.421, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.002457/0.002457, allocations: 234 kB / 259.4 MB, free: 476 kB / 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.077/1.077, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.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: translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.225e-05, allocations: 9.656 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002422/0.002445, allocations: 1.465 MB / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003782, allocations: 0.764 MB / 0.649 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.003815, allocations: 0 / 0.649 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.003838, allocations: 3.938 kB / 0.649 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.003883, allocations: 4 kB / 0.649 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.004329, allocations: 131.4 kB / 0.6491 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.004402, allocations: 35.92 kB / 0.6492 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.004477, allocations: 4 kB / 0.6492 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.004535, allocations: 15.98 kB / 0.6492 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.004595, allocations: 19.91 kB / 0.6492 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.004613, allocations: 4 kB / 0.6492 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.005032, allocations: 255.4 kB / 0.6494 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.005052, allocations: 7.984 kB / 0.6494 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.005078, allocations: 8 kB / 0.6495 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.005424, allocations: 207.5 kB / 0.6497 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005426, allocations: 0 / 0.6497 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005427, allocations: 0 / 0.6497 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.00543, allocations: 0 / 0.6497 GB, free: 2.062 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.0005355/0.005966, allocations: 305.8 kB / 0.6499 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.006001, allocations: 9.938 kB / 0.65 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.006498, allocations: 68.84 kB / 0.65 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.006609, allocations: 109.8 kB / 0.6501 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.006632, allocations: 4.359 kB / 0.6501 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.006643, allocations: 4.375 kB / 0.6501 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.006961, allocations: 82.19 kB / 0.6502 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006969, allocations: 192 / 0.6502 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.006984, allocations: 8.359 kB / 0.6502 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.00699, allocations: 3.938 kB / 0.6502 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.007425, allocations: 87.91 kB / 0.6503 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.007935, allocations: 248.4 kB / 0.6505 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.008342, allocations: 98.44 kB / 0.6506 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.00857, allocations: 48.88 kB / 0.6507 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.008586, allocations: 0 / 0.6507 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.00862, allocations: 42.5 kB / 0.6507 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.008621, allocations: 0 / 0.6507 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007884/0.00941, allocations: 165.5 kB / 0.6509 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.009451, allocations: 51.41 kB / 0.6509 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.009541, allocations: 105.8 kB / 0.651 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.009561, allocations: 25.7 kB / 0.6511 GB, free: 492 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.009617, allocations: 84.27 kB / 0.6511 GB, free: 404 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.009638, allocations: 11.95 kB / 0.6511 GB, free: 392 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.009679, allocations: 9.719 kB / 0.6512 GB, free: 376 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.009822, allocations: 322.8 kB / 0.6515 GB, free: 44 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.01005, allocations: 39.95 kB / 0.6515 GB, free: 4 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2465/0.2566, allocations: 44.81 kB / 0.6515 GB, free: 56.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.257, allocations: 87.89 kB / 0.6516 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.257, allocations: 0 / 0.6516 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004661/0.2574, allocations: 126.8 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2575, allocations: 5.75 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2575, allocations: 0 / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2575, allocations: 6.312 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2576, allocations: 21.8 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2576, allocations: 0 / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2578, allocations: 17.7 kB / 0.6518 GB, free: 56.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.2578, allocations: 0.7969 kB / 0.6518 GB, free: 56.72 MB / 0.5606 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 5.396e-05/0.2578, allocations: 116.5 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.2579, allocations: 4.922 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.2579, allocations: 11.31 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2579, allocations: 0.7969 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2579, allocations: 1.375 kB / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2579, allocations: 0 / 0.6519 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.258, allocations: 114.2 kB / 0.652 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.258, allocations: 2.406 kB / 0.652 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2582, allocations: 23.75 kB / 0.6521 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2582, allocations: 0 / 0.6521 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2582, allocations: 11.44 kB / 0.6521 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2582, allocations: 3.438 kB / 0.6521 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2582, allocations: 0 / 0.6521 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.2586, allocations: 214.5 kB / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.2586, allocations: 4.438 kB / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2586, allocations: 0 / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2588, allocations: 20.84 kB / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.2588, allocations: 4.5 kB / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2588, allocations: 5.031 kB / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.2588, allocations: 84.34 kB / 0.6524 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2588, allocations: 0 / 0.6524 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002433/0.2591, allocations: 13.64 kB / 0.6524 GB, free: 56.27 MB / 0.5606 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.0001318/0.2592, allocations: 111.2 kB / 0.6525 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.2597, allocations: 92.08 kB / 0.6526 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2597, allocations: 3.406 kB / 0.6526 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.2599, allocations: 49.67 kB / 0.6527 GB, free: 56.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2602, allocations: 5.125 kB / 0.6527 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.2607, allocations: 167.5 kB / 0.6528 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.2607, allocations: 69.47 kB / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.733e-05/0.2608, allocations: 6.25 kB / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.2608, allocations: 12.88 kB / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2608, allocations: 0 / 0.6529 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.00294/0.2637, allocations: 0.8847 MB / 0.6538 GB, free: 55.97 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.745152182877064] Failed to read output from testmodel.py, exit status != 0: 0.27122290432453156 0.279949626 0.272409634 Calling exit ...