Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001103/0.001103, allocations: 101.1 kB / 16.27 MB, free: 5.848 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.001159/0.001159, allocations: 187.4 kB / 17.19 MB, free: 5.5 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.396/1.396, 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/IBPSA 4.0.0-master/package.mo): time 0.7924/0.7924, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 67.89 kB / 0.4911 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3998, allocations: 77.92 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002885/0.4028, allocations: 1.468 MB / 0.5686 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.4031, allocations: 109.2 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.4032, allocations: 3.938 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.4032, allocations: 8.453 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.4033, allocations: 11.27 kB / 0.5688 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.4036, allocations: 20.78 kB / 0.5688 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.4037, allocations: 52.95 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4038, allocations: 8.984 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.4038, allocations: 18.23 kB / 0.5688 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.4039, allocations: 22.59 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.4039, allocations: 4.406 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.826e-05/0.404, allocations: 21.38 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.4041, allocations: 15.39 kB / 0.5689 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.4041, allocations: 22.97 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.4043, allocations: 57.61 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4043, allocations: 0.5625 kB / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4043, allocations: 0 / 0.569 GB, free: 31.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.4043, allocations: 5.469 kB / 0.569 GB, free: 31.46 MB / 446.1 MB 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.0004661/0.4048, allocations: 378.2 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4048, allocations: 9.125 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.4049, allocations: 8.094 kB / 0.5694 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.405, allocations: 177.3 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.405, allocations: 5.5 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.405, allocations: 2.656 kB / 0.5695 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.4053, allocations: 78.97 kB / 0.5696 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4053, allocations: 192 / 0.5696 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.4053, allocations: 6.375 kB / 0.5696 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4053, allocations: 1.312 kB / 0.5696 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.4056, allocations: 76.17 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.406, allocations: 285.7 kB / 0.57 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.4062, allocations: 73.89 kB / 0.57 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.4063, allocations: 43.17 kB / 0.5701 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.4066, allocations: 108.4 kB / 0.5702 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.4066, allocations: 37.34 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4066, allocations: 0 / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005576/0.4072, allocations: 141.1 kB / 0.5704 GB, free: 30.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.4072, allocations: 53.84 kB / 0.5704 GB, free: 30.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.4073, allocations: 128.2 kB / 0.5705 GB, free: 30.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.4073, allocations: 26.7 kB / 0.5706 GB, free: 30.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.4073, allocations: 93.2 kB / 0.5706 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.4074, allocations: 14.23 kB / 0.5707 GB, free: 30 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.4074, allocations: 19.31 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.4075, allocations: 317.8 kB / 0.571 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4076, allocations: 37.95 kB / 0.571 GB, free: 29.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4078, allocations: 38.36 kB / 0.5711 GB, free: 29.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.4081, allocations: 76.8 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4081, allocations: 3.938 kB / 0.5711 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003197/0.4084, allocations: 113.9 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4084, allocations: 6.406 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4084, allocations: 336 / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4085, allocations: 1.156 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4086, allocations: 19.48 kB / 0.5713 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4086, allocations: 7.188 kB / 0.5713 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.4087, allocations: 16.09 kB / 0.5713 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4087, allocations: 0 / 0.5713 GB, free: 29.58 MB / 446.1 MB 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 5.845e-05/0.4088, allocations: 122.2 kB / 0.5714 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.4088, allocations: 12.11 kB / 0.5714 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.4092, allocations: 114.8 kB / 0.5715 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4092, allocations: 0 / 0.5715 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4092, allocations: 2.5 kB / 0.5715 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4092, allocations: 3.938 kB / 0.5715 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.4093, allocations: 180.7 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4093, allocations: 2.125 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.4094, allocations: 19.09 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4095, allocations: 1.219 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4095, allocations: 3.938 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4095, allocations: 2.391 kB / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4095, allocations: 0 / 0.5717 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4099, allocations: 207 kB / 0.5719 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.4099, allocations: 83.89 kB / 0.572 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.41, allocations: 7.203 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4101, allocations: 11.52 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.4101, allocations: 4.078 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.4101, allocations: 1.688 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.4102, allocations: 104.6 kB / 0.5721 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4102, allocations: 0 / 0.5721 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.4104, allocations: 15.25 kB / 0.5721 GB, free: 28.86 MB / 446.1 MB 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.0001349/0.4106, allocations: 98.08 kB / 0.5722 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.4109, allocations: 85.92 kB / 0.5723 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.411, allocations: 0.625 kB / 0.5723 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4111, allocations: 43.56 kB / 0.5724 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.4114, allocations: 7.469 kB / 0.5724 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.4117, allocations: 153.4 kB / 0.5725 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.4119, allocations: 0.686 MB / 0.5732 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.715e-05/0.4119, allocations: 3.688 kB / 0.5732 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.4119, allocations: 10.98 kB / 0.5732 GB, free: 27.92 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4119, allocations: 3.938 kB / 0.5732 GB, free: 27.91 MB / 446.1 MB Notification: Performance of Templates: time 0.003733/0.4157, allocations: 0.8005 MB / 0.574 GB, free: 27.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)