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.001113/0.001113, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.001152/0.001152, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.337/1.337, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7987/0.7987, allocations: 122.9 MB / 414.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 71.88 kB / 0.4917 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.405, allocations: 77.92 MB / 0.5678 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002658/0.4077, allocations: 1.475 MB / 0.5693 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.408, allocations: 115.5 kB / 0.5694 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.408, allocations: 1.469 kB / 0.5694 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.4081, allocations: 7.875 kB / 0.5694 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.4082, allocations: 11.05 kB / 0.5694 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.4084, allocations: 25.73 kB / 0.5694 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.4085, allocations: 39.05 kB / 0.5695 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4086, allocations: 7.656 kB / 0.5695 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.4087, allocations: 21.73 kB / 0.5695 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.4087, allocations: 18.61 kB / 0.5695 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.4087, allocations: 3.969 kB / 0.5695 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.278e-05/0.4088, allocations: 24.86 kB / 0.5695 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.4089, allocations: 19.52 kB / 0.5696 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.4089, allocations: 22.72 kB / 0.5696 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.4091, allocations: 54.53 kB / 0.5696 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4091, allocations: 0 / 0.5696 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4091, allocations: 0 / 0.5696 GB, free: 31.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4091, allocations: 0 / 0.5696 GB, free: 31.47 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.0004938/0.4096, allocations: 382 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4096, allocations: 10.38 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.4097, allocations: 9.188 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4098, allocations: 178.6 kB / 0.5702 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.4098, allocations: 1.75 kB / 0.5702 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4098, allocations: 2.125 kB / 0.5702 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.4101, allocations: 75.94 kB / 0.5703 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4101, allocations: 4.125 kB / 0.5703 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4102, allocations: 3.938 kB / 0.5703 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4102, allocations: 1.75 kB / 0.5703 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.4105, allocations: 81.91 kB / 0.5703 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.4109, allocations: 281 kB / 0.5706 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.4112, allocations: 69.92 kB / 0.5707 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.4113, allocations: 42.16 kB / 0.5707 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.4116, allocations: 114 kB / 0.5708 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.4116, allocations: 36.5 kB / 0.5709 GB, free: 30.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.4116, allocations: 1.281 kB / 0.5709 GB, free: 30.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005589/0.4122, allocations: 143.2 kB / 0.571 GB, free: 30.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.4122, allocations: 51.97 kB / 0.5711 GB, free: 30.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.4123, allocations: 129.4 kB / 0.5712 GB, free: 30.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.4123, allocations: 25.7 kB / 0.5712 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.4124, allocations: 92.7 kB / 0.5713 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.4124, allocations: 9.703 kB / 0.5713 GB, free: 30.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.4124, allocations: 14.16 kB / 0.5713 GB, free: 29.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.4125, allocations: 321.4 kB / 0.5716 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.4127, allocations: 35.84 kB / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4128, allocations: 39.23 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.4131, allocations: 81.47 kB / 0.5718 GB, free: 29.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4131, allocations: 5 kB / 0.5718 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003324/0.4135, allocations: 114.1 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4135, allocations: 5.469 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4135, allocations: 0.5 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4135, allocations: 2.453 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4136, allocations: 16.06 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4136, allocations: 0 / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.4137, allocations: 21.34 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4138, allocations: 5.812 kB / 0.5719 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 6.576e-05/0.4138, allocations: 125.1 kB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.4139, allocations: 7.781 kB / 0.5721 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.4142, allocations: 116.5 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4142, allocations: 0.7031 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4143, allocations: 1.25 kB / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4143, allocations: 0 / 0.5722 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.4144, allocations: 184 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4144, allocations: 0.7812 kB / 0.5723 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.773e-05/0.4145, allocations: 17 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4145, allocations: 0 / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4145, allocations: 3.766 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4146, allocations: 0 / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4146, allocations: 5.469 kB / 0.5724 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.4149, allocations: 209.7 kB / 0.5726 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.415, allocations: 84 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.415, allocations: 1.828 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4151, allocations: 11.16 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.4151, allocations: 6.547 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4151, allocations: 4 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.4152, allocations: 101 kB / 0.5728 GB, free: 28.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4152, allocations: 0 / 0.5728 GB, free: 28.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.4154, allocations: 14.53 kB / 0.5728 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.0001215/0.4156, allocations: 98.36 kB / 0.5729 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.4159, allocations: 86.92 kB / 0.573 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4159, allocations: 0 / 0.573 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.4161, allocations: 40.39 kB / 0.573 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4164, allocations: 15.7 kB / 0.573 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.4167, allocations: 175.5 kB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.4169, allocations: 0.6874 MB / 0.5739 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.4169, allocations: 10.78 kB / 0.5739 GB, free: 27.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4169, allocations: 3.438 kB / 0.5739 GB, free: 27.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002638/0.4195, allocations: 0.903 MB / 0.5747 GB, free: 27.85 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)