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.001267/0.001267, allocations: 110.5 kB / 16.41 MB, free: 6.516 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.001199/0.001199, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002457/0.002457, allocations: 284.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 99.83 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4265, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002687/0.4292, allocations: 1.425 MB / 0.7685 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.4305, allocations: 0.8008 MB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.4306, allocations: 0 / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.4306, allocations: 7.922 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.4306, allocations: 7.938 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.4311, allocations: 127.5 kB / 0.7694 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.4312, allocations: 31.92 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.4312, allocations: 0 / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.4313, allocations: 23.92 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.4313, allocations: 23.91 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.4314, allocations: 0 / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.4318, allocations: 319.4 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.4318, allocations: 7.984 kB / 0.7698 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.4319, allocations: 15.92 kB / 0.7698 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.4322, allocations: 201.1 kB / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4322, allocations: 0 / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4322, allocations: 0 / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.4322, allocations: 0 / 0.77 GB, free: 0.9375 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005848/0.4328, allocations: 375.1 kB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4328, allocations: 12.03 kB / 0.7703 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.4333, allocations: 64.84 kB / 0.7704 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.4335, allocations: 176.3 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4335, allocations: 384 / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4335, allocations: 384 / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.4338, allocations: 85.94 kB / 0.7706 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4338, allocations: 0 / 0.7706 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4339, allocations: 8 kB / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4339, allocations: 0 / 0.7707 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.4343, allocations: 95.83 kB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.4349, allocations: 296.9 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.4353, allocations: 98.48 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.4355, allocations: 44.88 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.4355, allocations: 0 / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.4356, allocations: 38.56 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4356, allocations: 3.938 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0007852/0.4363, allocations: 169.5 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4364, allocations: 51.41 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.4365, allocations: 97.86 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4365, allocations: 33.77 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.4366, allocations: 92.08 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.4366, allocations: 7.953 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.4366, allocations: 13.72 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4368, allocations: 310.8 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.437, allocations: 55.94 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.4372, allocations: 39.95 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.4376, allocations: 96.7 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4376, allocations: 0 / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004975/0.4381, allocations: 117.6 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4382, allocations: 12.02 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4382, allocations: 0 / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4382, allocations: 0 / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4383, allocations: 23.97 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4384, allocations: 3.984 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.4385, allocations: 15.98 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4385, allocations: 8 kB / 0.7723 GB, free: 14.32 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.789e-05/0.4386, allocations: 112.2 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.4386, allocations: 7.984 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.4386, allocations: 3.125 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4386, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4386, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4386, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.4389, allocations: 177.6 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4389, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.439, allocations: 31.91 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.439, allocations: 0 / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.439, allocations: 0 / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.439, allocations: 0 / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.439, allocations: 0 / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.4396, allocations: 231.5 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.4396, allocations: 85.09 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.4396, allocations: 12.03 kB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.4398, allocations: 15.97 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.4398, allocations: 4 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4398, allocations: 0 / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.4399, allocations: 79.28 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4399, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000251/0.4401, allocations: 23.92 kB / 0.7731 GB, free: 13.46 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.0001601/0.4403, allocations: 107.2 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.4408, allocations: 99.83 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4408, allocations: 0 / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.4411, allocations: 51.89 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.4413, allocations: 12.06 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.4419, allocations: 161.4 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.4422, allocations: 0.6768 MB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.742e-05/0.4423, allocations: 8 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.4423, allocations: 7.438 kB / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4423, allocations: 4 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003461/0.4458, allocations: 0.8191 MB / 0.7749 GB, free: 11.46 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)