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.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 104.1 kB / 16.27 MB, free: 5.98 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.001517/0.001517, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002399/0.002399, allocations: 291.2 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.141/1.141, allocations: 178.6 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 95.84 kB / 0.6071 GB, free: 9.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1651, allocations: 89.14 MB / 0.6942 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.00264/0.1678, allocations: 1.442 MB / 0.6956 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1689, allocations: 0.7913 MB / 0.6963 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.169, allocations: 0 / 0.6963 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.169, allocations: 0 / 0.6963 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.169, allocations: 3.938 kB / 0.6963 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.1694, allocations: 135.5 kB / 0.6965 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.184e-05/0.1695, allocations: 27.92 kB / 0.6965 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.1696, allocations: 8 kB / 0.6965 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.1696, allocations: 15.92 kB / 0.6965 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.1697, allocations: 23.97 kB / 0.6965 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1697, allocations: 0 / 0.6965 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.1702, allocations: 319.3 kB / 0.6968 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1702, allocations: 11.94 kB / 0.6969 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1703, allocations: 15.92 kB / 0.6969 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.1706, allocations: 191.9 kB / 0.6971 GB, free: 13.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1706, allocations: 0 / 0.6971 GB, free: 13.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1706, allocations: 0 / 0.6971 GB, free: 13.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1706, allocations: 0 / 0.6971 GB, free: 13.08 MB / 0.545 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.000519/0.1712, allocations: 371.4 kB / 0.6974 GB, free: 12.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1712, allocations: 12.03 kB / 0.6974 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004565/0.1717, allocations: 68.84 kB / 0.6975 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1718, allocations: 172.3 kB / 0.6977 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1718, allocations: 384 / 0.6977 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.1718, allocations: 384 / 0.6977 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.1721, allocations: 93.88 kB / 0.6977 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1722, allocations: 3.984 kB / 0.6977 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1722, allocations: 8 kB / 0.6978 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1722, allocations: 0 / 0.6978 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.1726, allocations: 87.91 kB / 0.6978 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.1731, allocations: 292.8 kB / 0.6981 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1735, allocations: 98.48 kB / 0.6982 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.1737, allocations: 52.88 kB / 0.6983 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1738, allocations: 3.938 kB / 0.6983 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1738, allocations: 30.56 kB / 0.6983 GB, free: 11.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1738, allocations: 0 / 0.6983 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007281/0.1745, allocations: 169.6 kB / 0.6985 GB, free: 11.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1746, allocations: 51.41 kB / 0.6985 GB, free: 11.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.1747, allocations: 105.8 kB / 0.6986 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1747, allocations: 25.7 kB / 0.6986 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.1747, allocations: 84.14 kB / 0.6987 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1748, allocations: 7.844 kB / 0.6987 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1748, allocations: 17.75 kB / 0.6987 GB, free: 11.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1749, allocations: 318.8 kB / 0.699 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1752, allocations: 43.95 kB / 0.6991 GB, free: 10.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1754, allocations: 47.89 kB / 0.6991 GB, free: 10.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.1758, allocations: 92.77 kB / 0.6992 GB, free: 10.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1758, allocations: 0 / 0.6992 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004913/0.1763, allocations: 125.6 kB / 0.6993 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1763, allocations: 7.938 kB / 0.6993 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1763, allocations: 4 kB / 0.6993 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1763, allocations: 0 / 0.6993 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1765, allocations: 24 kB / 0.6994 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1765, allocations: 0 / 0.6994 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1766, allocations: 15.98 kB / 0.6994 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1767, allocations: 0 / 0.6994 GB, free: 10.47 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 (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 9.202e-05/0.1767, allocations: 125.7 kB / 0.6995 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1768, allocations: 7.891 kB / 0.6995 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1768, allocations: 7.125 kB / 0.6995 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1768, allocations: 0 / 0.6995 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1768, allocations: 0 / 0.6995 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1768, allocations: 0 / 0.6995 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.177, allocations: 181.6 kB / 0.6997 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.177, allocations: 0 / 0.6997 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.1772, allocations: 19.97 kB / 0.6997 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1772, allocations: 4 kB / 0.6997 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1772, allocations: 0 / 0.6997 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1772, allocations: 256 / 0.6997 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1772, allocations: 8 kB / 0.6997 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.1777, allocations: 219.4 kB / 0.6999 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1778, allocations: 77.11 kB / 0.7 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1778, allocations: 0 / 0.7 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1779, allocations: 24 kB / 0.7 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.178, allocations: 3.938 kB / 0.7 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.178, allocations: 0 / 0.7 GB, free: 9.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.178, allocations: 87.27 kB / 0.7001 GB, free: 9.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1781, allocations: 0 / 0.7001 GB, free: 9.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002281/0.1783, allocations: 16 kB / 0.7001 GB, free: 9.617 MB / 0.545 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.0001493/0.1784, allocations: 103.2 kB / 0.7002 GB, free: 9.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.1789, allocations: 103.9 kB / 0.7003 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1789, allocations: 0 / 0.7003 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1792, allocations: 43.95 kB / 0.7004 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1794, allocations: 11.88 kB / 0.7004 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.18, allocations: 199 kB / 0.7006 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1803, allocations: 0.6807 MB / 0.7012 GB, free: 8.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.1804, allocations: 15.42 kB / 0.7013 GB, free: 8.398 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.1804, allocations: 0 / 0.7013 GB, free: 8.398 MB / 0.545 GB Notification: Performance of Templates: time 0.002265/0.1827, allocations: 0.892 MB / 0.7021 GB, free: 7.508 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (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)