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.0009035/0.0009035, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009635/0.0009635, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.044/1.044, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.001673/0.001673, allocations: 233.6 kB / 260.5 MB, free: 12.9 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.7517/0.7517, allocations: 138.4 MB / 455.4 MB, free: 1.578 MB / 362.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 2.013e-06/2.013e-06, allocations: 0 / 0.5551 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.946e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001736/0.001766, allocations: 0.6463 MB / 0.5557 GB, free: 192 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.003939, allocations: 1.474 MB / 0.5572 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.003996, allocations: 0 / 0.5572 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.004021, allocations: 3.938 kB / 0.5572 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.004121, allocations: 4 kB / 0.5572 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006585/0.00478, allocations: 123.4 kB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.004888, allocations: 27.91 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.376e-05/0.004952, allocations: 7.984 kB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.922e-05/0.005021, allocations: 19.91 kB / 0.5574 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.005091, allocations: 19.98 kB / 0.5574 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.00511, allocations: 0 / 0.5574 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.005528, allocations: 255.4 kB / 0.5576 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.005552, allocations: 7.922 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.005579, allocations: 4 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.005903, allocations: 203.4 kB / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.005907, allocations: 0 / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005909, allocations: 0 / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005914, allocations: 0 / 0.5578 GB, free: 14.03 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.0005737/0.006488, allocations: 416 kB / 0.5582 GB, free: 13.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.006533, allocations: 8.75 kB / 0.5582 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.006838, allocations: 40.89 kB / 0.5583 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.00697, allocations: 116.6 kB / 0.5584 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.006991, allocations: 384 / 0.5584 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.007017, allocations: 8.375 kB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.00722, allocations: 78.86 kB / 0.5585 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.007232, allocations: 192 / 0.5585 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.007245, allocations: 4.375 kB / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.007254, allocations: 3.938 kB / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.007315, allocations: 15.98 kB / 0.5585 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.007482, allocations: 128.6 kB / 0.5586 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.007604, allocations: 55.05 kB / 0.5587 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.007645, allocations: 23.81 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.007662, allocations: 4 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.00769, allocations: 41.31 kB / 0.5587 GB, free: 12.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.007691, allocations: 0 / 0.5587 GB, free: 12.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.001693/0.009384, allocations: 393.1 kB / 0.5591 GB, free: 12.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.00943, allocations: 55.34 kB / 0.5592 GB, free: 12.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.009548, allocations: 173.9 kB / 0.5593 GB, free: 12.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.009567, allocations: 25.7 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.009623, allocations: 134.9 kB / 0.5595 GB, free: 12.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.00967, allocations: 27.75 kB / 0.5595 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.009737, allocations: 35.36 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.009881, allocations: 0.4923 MB / 0.56 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.009954, allocations: 19.98 kB / 0.56 GB, free: 11.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.01002, allocations: 28.73 kB / 0.5601 GB, free: 11.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01015, allocations: 51.91 kB / 0.5601 GB, free: 11.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01015, allocations: 0 / 0.5601 GB, free: 11.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002114/0.01036, allocations: 105.5 kB / 0.5602 GB, free: 11.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01038, allocations: 8 kB / 0.5602 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01038, allocations: 3.938 kB / 0.5602 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.0104, allocations: 0 / 0.5602 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.01059, allocations: 47.89 kB / 0.5603 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.0106, allocations: 0 / 0.5603 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.0107, allocations: 19.98 kB / 0.5603 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01072, allocations: 7.984 kB / 0.5603 GB, free: 11.29 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 0.0001008/0.01082, allocations: 160.6 kB / 0.5605 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.01085, allocations: 4 kB / 0.5605 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.01089, allocations: 16.38 kB / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01089, allocations: 0 / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.0109, allocations: 4 kB / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0109, allocations: 0 / 0.5605 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.01163, allocations: 440.5 kB / 0.5609 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01163, allocations: 0 / 0.5609 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01177, allocations: 40.03 kB / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.01177, allocations: 0 / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.01179, allocations: 7.984 kB / 0.5609 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01179, allocations: 0 / 0.5609 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.0118, allocations: 4 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.01205, allocations: 259.1 kB / 0.5612 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01206, allocations: 3.953 kB / 0.5612 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.01209, allocations: 11.98 kB / 0.5612 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.01236, allocations: 19.98 kB / 0.5612 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.01241, allocations: 11.92 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.01242, allocations: 7.984 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.01248, allocations: 131.2 kB / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01248, allocations: 0 / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.0128, allocations: 43.86 kB / 0.5614 GB, free: 10.07 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.000233/0.01303, allocations: 139 kB / 0.5615 GB, free: 9.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.01325, allocations: 76.2 kB / 0.5616 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01325, allocations: 0 / 0.5616 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.01334, allocations: 47.61 kB / 0.5617 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.01362, allocations: 15.92 kB / 0.5617 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.01432, allocations: 280 kB / 0.5619 GB, free: 9.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.01436, allocations: 63.36 kB / 0.562 GB, free: 9.383 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.144e-05/0.01445, allocations: 24.72 kB / 0.562 GB, free: 9.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.01453, allocations: 24.48 kB / 0.5621 GB, free: 9.336 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01453, allocations: 0 / 0.5621 GB, free: 9.336 MB / 490.7 MB Notification: Performance of Templates: time 0.004583/0.01912, allocations: 1.795 MB / 0.5638 GB, free: 7.547 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.7755369329825044]