Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001371/0.001371, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 65.56 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3313, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002688/0.334, allocations: 1.551 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000298/0.3343, allocations: 107.7 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.3344, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.309e-05/0.3344, allocations: 3.984 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.3345, allocations: 11.92 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.3347, allocations: 15.98 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.3348, allocations: 51.78 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.3349, allocations: 8 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.335, allocations: 23.92 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.335, allocations: 15.92 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.335, allocations: 4 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-05/0.3351, allocations: 23.98 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.3352, allocations: 11.98 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.3352, allocations: 31.78 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3353, allocations: 47.88 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3353, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3354, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3354, allocations: 4 kB / 1.07 GB, free: 8.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005014/0.3359, allocations: 379.5 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3359, allocations: 12.03 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.336, allocations: 8.844 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3361, allocations: 172.3 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3361, allocations: 384 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3361, allocations: 384 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.3364, allocations: 86.14 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.3364, allocations: 4.125 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3364, allocations: 7.922 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3364, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.3367, allocations: 71.92 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.3371, allocations: 288.9 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3373, allocations: 70.41 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3375, allocations: 40.92 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.3377, allocations: 121 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3377, allocations: 42.48 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.3378, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005384/0.3383, allocations: 141.6 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3383, allocations: 51.41 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3385, allocations: 136.9 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3385, allocations: 25.7 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.3385, allocations: 95.98 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.3386, allocations: 7.906 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.3386, allocations: 13.72 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3387, allocations: 318.8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3389, allocations: 43.95 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.339, allocations: 31.97 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3393, allocations: 76.78 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3393, allocations: 7.938 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003234/0.3396, allocations: 113.5 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3396, allocations: 4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3397, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.3397, allocations: 3.938 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3398, allocations: 15.98 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3398, allocations: 4 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.3399, allocations: 15.97 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.227 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 (3): * Single equations (assignments): 3 * 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 8.174e-05/0.34, allocations: 117.8 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.34, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.3404, allocations: 121.5 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3404, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3404, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3404, allocations: 384 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.3406, allocations: 189.5 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3406, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.701e-05/0.3407, allocations: 19.92 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3407, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.3407, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3407, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3407, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.3411, allocations: 211.3 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.3412, allocations: 85.02 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3412, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3413, allocations: 19.97 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.3413, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3413, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.3414, allocations: 99.27 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3414, allocations: 3.938 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002346/0.3417, allocations: 8 kB / 1.073 GB, free: 5.25 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 (3): * Single equations (assignments): 3 * 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.0001361/0.3418, allocations: 107.2 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3421, allocations: 79.92 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3421, allocations: 4 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3423, allocations: 39.95 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.3426, allocations: 13.59 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.3429, allocations: 173.3 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.3432, allocations: 0.6924 MB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.3432, allocations: 3.859 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.3433, allocations: 11.44 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3433, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.002743/0.346, allocations: 0.687 MB / 1.074 GB, free: 3.391 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)