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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 107.3 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 191.8 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 290 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 95.84 kB / 0.6822 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4456, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001615/0.4473, allocations: 0.6368 MB / 0.7677 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.4491, allocations: 1.454 MB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.4492, allocations: 4 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.4492, allocations: 0 / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.4492, allocations: 11.92 kB / 0.7692 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.4496, allocations: 119.5 kB / 0.7693 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.4497, allocations: 31.91 kB / 0.7693 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.4497, allocations: 0 / 0.7693 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.4498, allocations: 27.86 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.4498, allocations: 15.92 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.4498, allocations: 0 / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.4503, allocations: 319.3 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.4503, allocations: 3.984 kB / 0.7697 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.4504, allocations: 19.88 kB / 0.7697 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.4506, allocations: 189.2 kB / 0.7699 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4506, allocations: 0 / 0.7699 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4506, allocations: 0 / 0.7699 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.4507, allocations: 0 / 0.7699 GB, free: 1.117 MB / 0.5294 GB 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.0005504/0.4512, allocations: 390.8 kB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.4512, allocations: 8.031 kB / 0.7702 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.4516, allocations: 60.86 kB / 0.7703 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4518, allocations: 172.3 kB / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4518, allocations: 384 / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4518, allocations: 8.375 kB / 0.7705 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.4521, allocations: 79.75 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4521, allocations: 0 / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4521, allocations: 3.984 kB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4521, allocations: 0 / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.4525, allocations: 71.86 kB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.4527, allocations: 169.7 kB / 0.7708 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.4533, allocations: 122.5 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4535, allocations: 52.88 kB / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.4535, allocations: 0 / 0.7709 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4535, allocations: 34.5 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.4535, allocations: 0 / 0.771 GB, free: 15.81 MB / 0.545 GB 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.004196/0.4577, allocations: 0.7935 MB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.4578, allocations: 51.41 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4579, allocations: 113.8 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4579, allocations: 29.7 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.4579, allocations: 84.14 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.458, allocations: 27.75 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.568e-05/0.458, allocations: 29.7 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4582, allocations: 318.8 kB / 0.7724 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.4586, allocations: 95.89 kB / 0.7725 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.4591, allocations: 103.8 kB / 0.7726 GB, free: 14.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.46, allocations: 192.7 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.46, allocations: 0 / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009612/0.4609, allocations: 249.5 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4609, allocations: 8 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4609, allocations: 0 / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.461, allocations: 0 / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.4613, allocations: 55.94 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4613, allocations: 0 / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4615, allocations: 35.95 kB / 0.7731 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4615, allocations: 4 kB / 0.7731 GB, free: 13.58 MB / 0.545 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 (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 9.811e-05/0.4616, allocations: 120.2 kB / 0.7732 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.4616, allocations: 0 / 0.7732 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.4617, allocations: 24.3 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4617, allocations: 0 / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4617, allocations: 0 / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4617, allocations: 4 kB / 0.7732 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.4635, allocations: 0.5938 MB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4635, allocations: 0 / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.4637, allocations: 56 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4637, allocations: 3.938 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4638, allocations: 4 kB / 0.7739 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.4638, allocations: 3.938 kB / 0.7739 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4638, allocations: 4.75 kB / 0.7739 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.4648, allocations: 345 kB / 0.7742 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.4648, allocations: 89.03 kB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.4648, allocations: 8 kB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4651, allocations: 35.95 kB / 0.7743 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4651, allocations: 11.92 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4652, allocations: 12 kB / 0.7744 GB, free: 12.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.4e-05/0.4652, allocations: 95.25 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4652, allocations: 0 / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002918/0.4655, allocations: 39.88 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB 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.0001996/0.4657, allocations: 130 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000986/0.4667, allocations: 215.8 kB / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4667, allocations: 0 / 0.7748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.4672, allocations: 108 kB / 0.7749 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.4674, allocations: 8 kB / 0.7749 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.469, allocations: 398 kB / 0.7753 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.4694, allocations: 0.6885 MB / 0.776 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.958e-05/0.4695, allocations: 20.61 kB / 0.776 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.4695, allocations: 23.42 kB / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4695, allocations: 0 / 0.776 GB, free: 10.39 MB / 0.545 GB Notification: Performance of Templates: time 0.004615/0.4741, allocations: 1.657 MB / 0.7776 GB, free: 8.738 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)