Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7451 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.56 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3226, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002702/0.3254, allocations: 1.441 MB / 1.07 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3267, allocations: 0.8021 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.3267, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.3268, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.3268, allocations: 7.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.3273, allocations: 119.5 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.3274, allocations: 31.97 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3275, allocations: 11.98 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.3276, allocations: 27.86 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.3276, allocations: 15.97 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3277, allocations: 7.938 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.3282, allocations: 319.4 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.3282, allocations: 7.922 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.3282, allocations: 7.984 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.3286, allocations: 199.6 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3286, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3286, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3286, allocations: 0 / 1.071 GB, free: 7.477 MB / 0.8262 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.0005764/0.3292, allocations: 385.3 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3293, allocations: 8.031 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.3297, allocations: 68.84 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3299, allocations: 164.3 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3299, allocations: 4.375 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3299, allocations: 384 / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3303, allocations: 89.94 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3303, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3303, allocations: 3.938 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3303, allocations: 0 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.3307, allocations: 91.89 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/0.3313, allocations: 300.8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.3317, allocations: 94.5 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.3319, allocations: 48.86 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3319, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3319, allocations: 46.5 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3319, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007426/0.3327, allocations: 161.5 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3327, allocations: 51.41 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.3328, allocations: 97.86 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3328, allocations: 29.83 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.3329, allocations: 92.12 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.3329, allocations: 3.906 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.333, allocations: 13.72 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.3331, allocations: 314.8 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3333, allocations: 48.19 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3335, allocations: 43.95 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.3339, allocations: 100.7 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3339, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004566/0.3344, allocations: 121.6 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3344, allocations: 8.031 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3344, allocations: 7.922 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3344, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3346, allocations: 19.98 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3346, allocations: 3.938 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3347, allocations: 19.97 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.3347, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 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 7.39e-05/0.3348, allocations: 109.8 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.3349, allocations: 7.906 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.3349, allocations: 15.05 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3349, allocations: 0 / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3349, allocations: 0 / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3349, allocations: 0 / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3351, allocations: 169.6 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3351, allocations: 3.984 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.3353, allocations: 23.98 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3353, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3353, allocations: 3.984 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3353, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3353, allocations: 0 / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.3358, allocations: 219.4 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.3358, allocations: 81.14 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3359, allocations: 4 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.336, allocations: 11.98 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3361, allocations: 11.97 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3361, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.3361, allocations: 87.22 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3361, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000244/0.3364, allocations: 19.98 kB / 1.074 GB, free: 4.012 MB / 0.8262 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.0001709/0.3365, allocations: 107.8 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.337, allocations: 99.89 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3371, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.3373, allocations: 48.02 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3376, allocations: 9.844 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.3382, allocations: 169.3 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3384, allocations: 0.6806 MB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.855e-05/0.3385, allocations: 8 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.3385, allocations: 11.44 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3385, allocations: 0 / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.002983/0.3415, allocations: 0.8159 MB / 1.076 GB, free: 2.016 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)