Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001959/0.001959, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002468/0.002468, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.002594/0.002594, allocations: 229.9 kB / 259.8 MB, free: 12.84 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 1.096/1.096, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.497e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00197/0.001995, allocations: 0.7655 MB / 0.5551 GB, free: 32 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.0044, allocations: 1.454 MB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.004429, allocations: 0 / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.004459, allocations: 3.938 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.004503, allocations: 0 / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.005093, allocations: 155.3 kB / 0.5567 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.005197, allocations: 55.88 kB / 0.5568 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.005246, allocations: 7.984 kB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.005348, allocations: 31.95 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.005414, allocations: 23.91 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.005434, allocations: 8 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.005891, allocations: 251.5 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.005916, allocations: 11.97 kB / 0.5571 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.00596, allocations: 23.92 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.006372, allocations: 223.4 kB / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006374, allocations: 0 / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006375, allocations: 0 / 0.5573 GB, free: 13.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.006379, allocations: 0 / 0.5573 GB, free: 13.78 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009449/0.007324, allocations: 325.8 kB / 0.5576 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.00736, allocations: 12.69 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.007892, allocations: 76.8 kB / 0.5577 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.008014, allocations: 117.6 kB / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.008039, allocations: 8.375 kB / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.008073, allocations: 8.375 kB / 0.5579 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.00854, allocations: 161.6 kB / 0.558 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.008551, allocations: 192 / 0.558 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.008567, allocations: 4.375 kB / 0.558 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.008578, allocations: 7.922 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.009116, allocations: 103.8 kB / 0.5581 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.009724, allocations: 272.5 kB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/0.01046, allocations: 162.3 kB / 0.5585 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.01072, allocations: 48.81 kB / 0.5586 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.01074, allocations: 4 kB / 0.5586 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.01078, allocations: 42.56 kB / 0.5586 GB, free: 12.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.01078, allocations: 0 / 0.5586 GB, free: 12.33 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=11): time 0.01976/0.03054, allocations: 2.698 MB / 0.5613 GB, free: 9.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.0306, allocations: 51.41 kB / 0.5613 GB, free: 9.512 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.03071, allocations: 101.8 kB / 0.5614 GB, free: 9.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.03077, allocations: 29.7 kB / 0.5614 GB, free: 9.367 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.03084, allocations: 80.14 kB / 0.5615 GB, free: 9.285 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.03093, allocations: 43.64 kB / 0.5615 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.03114, allocations: 73.58 kB / 0.5616 GB, free: 9.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.03132, allocations: 322.8 kB / 0.5619 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.03206, allocations: 191.8 kB / 0.5621 GB, free: 8.652 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/0.03279, allocations: 195.4 kB / 0.5623 GB, free: 8.465 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.03431, allocations: 392.5 kB / 0.5627 GB, free: 8.078 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.03431, allocations: 0 / 0.5627 GB, free: 8.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001755/0.03606, allocations: 481.3 kB / 0.5631 GB, free: 7.602 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.03608, allocations: 8 kB / 0.5631 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.03609, allocations: 0 / 0.5631 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.03611, allocations: 0 / 0.5631 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.03698, allocations: 107.8 kB / 0.5632 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.03699, allocations: 4 kB / 0.5632 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.03763, allocations: 43.94 kB / 0.5633 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.0377, allocations: 27.94 kB / 0.5633 GB, free: 7.414 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 (13): * Single equations (assignments): 13 * 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.0001826/0.03788, allocations: 121.7 kB / 0.5634 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.03801, allocations: 4 kB / 0.5634 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.112e-05/0.03807, allocations: 16.11 kB / 0.5634 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.03807, allocations: 4 kB / 0.5635 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03808, allocations: 4 kB / 0.5635 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.03808, allocations: 0 / 0.5635 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.0408, allocations: 0.9648 MB / 0.5644 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0408, allocations: 0 / 0.5644 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/0.04167, allocations: 107.8 kB / 0.5645 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.04168, allocations: 0 / 0.5645 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.04173, allocations: 19.94 kB / 0.5645 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.04174, allocations: 4 kB / 0.5645 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.04174, allocations: 3.984 kB / 0.5645 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.04445, allocations: 0.7997 MB / 0.5653 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.0446, allocations: 35.94 kB / 0.5653 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.366e-05/0.04466, allocations: 0 / 0.5653 GB, free: 5.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.04539, allocations: 55.98 kB / 0.5654 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.04551, allocations: 24.11 kB / 0.5654 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.04557, allocations: 27.88 kB / 0.5654 GB, free: 5.113 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.638e-05/0.04564, allocations: 87.27 kB / 0.5655 GB, free: 5.027 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04564, allocations: 0 / 0.5655 GB, free: 5.027 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.04606, allocations: 55.92 kB / 0.5656 GB, free: 4.973 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002517/0.04632, allocations: 111.2 kB / 0.5657 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.04794, allocations: 427.5 kB / 0.5661 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.04795, allocations: 0 / 0.5661 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008222/0.04877, allocations: 219.7 kB / 0.5663 GB, free: 4.219 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.04917, allocations: 38.61 kB / 0.5663 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.05374, allocations: 0.7562 MB / 0.5671 GB, free: 3.402 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.932e-05/0.05383, allocations: 79.27 kB / 0.5672 GB, free: 3.305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005699/0.0544, allocations: 96.66 kB / 0.5672 GB, free: 3.211 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.0547, allocations: 56.38 kB / 0.5673 GB, free: 3.156 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0547, allocations: 0 / 0.5673 GB, free: 3.156 MB / 490.7 MB Notification: Performance of Templates: time 0.008204/0.0629, allocations: 3.711 MB / 0.5709 GB, free: 15.46 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.787729157949798]