Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001233/0.001233, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001364/0.001364, allocations: 170 kB / 23.27 MB, free: 1.223 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.9708/0.9708, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.001631/0.001631, allocations: 241.9 kB / 260.5 MB, free: 12.67 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.7418/0.7418, allocations: 138.4 MB / 455.5 MB, free: 30.05 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.994e-05, allocations: 6.25 kB / 0.5556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001268/0.001298, allocations: 0.6514 MB / 0.5563 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.002725, allocations: 1.462 MB / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.002763, allocations: 0 / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.002781, allocations: 3.938 kB / 0.5577 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.00285, allocations: 15.86 kB / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.003554, allocations: 119.5 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.003609, allocations: 27.92 kB / 0.5579 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.003647, allocations: 4 kB / 0.5579 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.003699, allocations: 27.91 kB / 0.5579 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.003751, allocations: 15.91 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.003766, allocations: 4 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.004038, allocations: 243.5 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.004056, allocations: 3.984 kB / 0.5582 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.004075, allocations: 11.94 kB / 0.5582 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.004306, allocations: 203.4 kB / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.00431, allocations: 0 / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004311, allocations: 0 / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.004315, allocations: 0 / 0.5584 GB, free: 13.01 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003601/0.004675, allocations: 404.1 kB / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.004718, allocations: 9.938 kB / 0.5588 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.004901, allocations: 48.83 kB / 0.5588 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.362e-05/0.004985, allocations: 120.5 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.004998, allocations: 4.312 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.005018, allocations: 8.375 kB / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005151, allocations: 70.92 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.005166, allocations: 192 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-06/0.005173, allocations: 384 / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005179, allocations: 7.938 kB / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.005211, allocations: 11.98 kB / 0.559 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.005327, allocations: 109.2 kB / 0.5591 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/0.005404, allocations: 67.03 kB / 0.5592 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.005427, allocations: 19.67 kB / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.005442, allocations: 0 / 0.5592 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.005461, allocations: 37.52 kB / 0.5592 GB, free: 11.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.005462, allocations: 4 kB / 0.5592 GB, free: 11.98 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.001007/0.006469, allocations: 369.1 kB / 0.5596 GB, free: 11.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.006495, allocations: 51.41 kB / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.006564, allocations: 169.9 kB / 0.5598 GB, free: 11.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006576, allocations: 25.7 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.006611, allocations: 138.8 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.006642, allocations: 31.73 kB / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.006682, allocations: 31.36 kB / 0.56 GB, free: 11.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.006796, allocations: 0.4923 MB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.006833, allocations: 19.98 kB / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.141e-05/0.006865, allocations: 19.92 kB / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.28e-05/0.006927, allocations: 48.42 kB / 0.5606 GB, free: 10.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006928, allocations: 0 / 0.5606 GB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001176/0.007046, allocations: 93.56 kB / 0.5607 GB, free: 10.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007059, allocations: 8 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007064, allocations: 0 / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.007079, allocations: 3.938 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.007199, allocations: 39.95 kB / 0.5607 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.007203, allocations: 4 kB / 0.5607 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.007263, allocations: 19.98 kB / 0.5607 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.007273, allocations: 7.984 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB 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 (9): * Single equations (assignments): 9 * 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 6.972e-05/0.007343, allocations: 156.6 kB / 0.5609 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.007361, allocations: 15.83 kB / 0.5609 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.007393, allocations: 12.44 kB / 0.5609 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.007397, allocations: 3.938 kB / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.007399, allocations: 0 / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.007403, allocations: 3.984 kB / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.007835, allocations: 401.3 kB / 0.5613 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.007838, allocations: 4 kB / 0.5613 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.007919, allocations: 40.02 kB / 0.5614 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.007924, allocations: 11.92 kB / 0.5614 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.00793, allocations: 0 / 0.5614 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.007934, allocations: 7.938 kB / 0.5614 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007935, allocations: 0 / 0.5614 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.008098, allocations: 251.2 kB / 0.5616 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.00811, allocations: 11.89 kB / 0.5616 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.008122, allocations: 4 kB / 0.5616 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.008197, allocations: 23.97 kB / 0.5617 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.008227, allocations: 11.98 kB / 0.5617 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.008235, allocations: 4 kB / 0.5617 GB, free: 9.336 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.008272, allocations: 131.5 kB / 0.5618 GB, free: 9.207 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008272, allocations: 0 / 0.5618 GB, free: 9.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.008466, allocations: 43.86 kB / 0.5618 GB, free: 9.164 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.000155/0.008621, allocations: 131.1 kB / 0.562 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.008744, allocations: 64.3 kB / 0.562 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008746, allocations: 0 / 0.562 GB, free: 8.957 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.621e-05/0.008792, allocations: 47.77 kB / 0.5621 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.008956, allocations: 16.97 kB / 0.5621 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.009396, allocations: 275.9 kB / 0.5624 GB, free: 8.586 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.00943, allocations: 63.34 kB / 0.5624 GB, free: 8.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.009486, allocations: 24.72 kB / 0.5624 GB, free: 8.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.009563, allocations: 86.12 kB / 0.5625 GB, free: 8.395 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009564, allocations: 0 / 0.5625 GB, free: 8.395 MB / 490.7 MB Notification: Performance of Templates: time 0.003272/0.01284, allocations: 1.945 MB / 0.5644 GB, free: 6.477 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4811931350268424]