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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001226/0.001226, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 72.73 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3009, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002467/0.3034, allocations: 1.508 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3046, allocations: 0.8022 MB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.3047, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.3047, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.3048, allocations: 0 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3052, allocations: 107.7 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.381e-05/0.3052, allocations: 31.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.3053, allocations: 11.98 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.3054, allocations: 15.94 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.3054, allocations: 19.97 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3055, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.3059, allocations: 319.3 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3059, allocations: 7.938 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.3059, allocations: 7.984 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.3062, allocations: 195.6 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3062, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3062, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3062, allocations: 0 / 1.071 GB, free: 7.746 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.0005008/0.3068, allocations: 379.6 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3068, allocations: 8.031 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.3073, allocations: 72.84 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3074, allocations: 172.2 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3074, allocations: 4.375 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3074, allocations: 384 / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.3077, allocations: 93.92 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3078, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3078, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3078, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.3082, allocations: 87.91 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.3087, allocations: 308.7 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.3091, allocations: 98.5 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.3093, allocations: 44.88 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3094, allocations: 3.938 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3094, allocations: 38.56 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3094, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0007258/0.3101, allocations: 165.5 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.3102, allocations: 51.41 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.3102, allocations: 105.8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3103, allocations: 25.83 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.3103, allocations: 92.14 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3103, allocations: 3.906 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3104, allocations: 13.72 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.3105, allocations: 318.8 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.3107, allocations: 43.95 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3109, allocations: 43.95 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.3113, allocations: 92.77 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3113, allocations: 0 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004507/0.3118, allocations: 129.5 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3118, allocations: 8.031 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3118, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3118, allocations: 3.938 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.312, allocations: 23.97 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.312, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3121, allocations: 11.98 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3121, allocations: 15.97 kB / 1.073 GB, free: 5.109 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 6.674e-05/0.3122, allocations: 109.8 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.3123, allocations: 7.906 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.3123, allocations: 7.125 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3123, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3123, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.3123, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3125, allocations: 173.6 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3125, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3126, allocations: 27.97 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3127, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3127, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3127, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3127, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.3132, allocations: 223.3 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.3132, allocations: 77.11 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3132, allocations: 8.031 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3134, allocations: 16.22 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3134, allocations: 4 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3134, allocations: 4 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.3135, allocations: 91.2 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3135, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002525/0.3137, allocations: 16 kB / 1.074 GB, free: 4.266 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.0001406/0.3139, allocations: 107.2 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.3144, allocations: 103.8 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3144, allocations: 0 / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3146, allocations: 43.95 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3149, allocations: 8.766 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.3154, allocations: 165.3 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3157, allocations: 0.6768 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.3158, allocations: 11.94 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.3158, allocations: 15.42 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3159, allocations: 0 / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.002663/0.3185, allocations: 0.7605 MB / 1.076 GB, free: 2.324 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)