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.001485/0.001485, allocations: 104.8 kB / 16.64 MB, free: 6.824 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.001746/0.001746, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.297/1.297, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7214/0.7214, allocations: 122.9 MB / 414.2 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 0.4912 GB, free: 7.867 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3176, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002406/0.32, allocations: 1.54 MB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002804/0.3203, allocations: 108.8 kB / 0.5689 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.3204, allocations: 3.938 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.3204, allocations: 6.781 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.3205, allocations: 6.047 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.3207, allocations: 19.84 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.36e-05/0.3208, allocations: 39.77 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3209, allocations: 12.02 kB / 0.569 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.3209, allocations: 21.47 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.321, allocations: 28.66 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.321, allocations: 3.562 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.3211, allocations: 20.55 kB / 0.5691 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.3211, allocations: 16.14 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.3212, allocations: 22.55 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.158e-05/0.3213, allocations: 35.59 kB / 0.5692 GB, free: 31.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3213, allocations: 0 / 0.5692 GB, free: 31.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3213, allocations: 0.6562 kB / 0.5692 GB, free: 31.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3213, allocations: 0.875 kB / 0.5692 GB, free: 31.48 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.0004195/0.3217, allocations: 378.4 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.3218, allocations: 10.09 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3218, allocations: 12.89 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.3219, allocations: 177.3 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3219, allocations: 2.469 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3219, allocations: 6.406 kB / 0.5697 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.3222, allocations: 79.16 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.3222, allocations: 1.156 kB / 0.5698 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3222, allocations: 7.875 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3222, allocations: 1.094 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3225, allocations: 74.25 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.3228, allocations: 284.9 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.323, allocations: 71.64 kB / 0.5702 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3232, allocations: 42.66 kB / 0.5703 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.3234, allocations: 112 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.3234, allocations: 31.34 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.3234, allocations: 1.156 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005359/0.324, allocations: 147.1 kB / 0.5705 GB, free: 30.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.324, allocations: 52.28 kB / 0.5706 GB, free: 30.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.77e-05/0.3241, allocations: 130.6 kB / 0.5707 GB, free: 30.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.3241, allocations: 26.8 kB / 0.5707 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.3241, allocations: 97.58 kB / 0.5708 GB, free: 30.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3242, allocations: 6.625 kB / 0.5708 GB, free: 30.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.3242, allocations: 19.34 kB / 0.5709 GB, free: 29.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.3243, allocations: 318.4 kB / 0.5712 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3244, allocations: 41.45 kB / 0.5712 GB, free: 29.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3245, allocations: 40.22 kB / 0.5712 GB, free: 29.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.3248, allocations: 78.03 kB / 0.5713 GB, free: 29.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3248, allocations: 3.938 kB / 0.5713 GB, free: 29.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003096/0.3251, allocations: 110.3 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3252, allocations: 5.156 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3252, allocations: 0 / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3252, allocations: 3.406 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3253, allocations: 20.28 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3253, allocations: 1.406 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.3254, allocations: 18.72 kB / 0.5715 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.3254, allocations: 3.844 kB / 0.5715 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.367e-05/0.3255, allocations: 123.3 kB / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3255, allocations: 7.5 kB / 0.5716 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.3259, allocations: 121.9 kB / 0.5717 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3259, allocations: 0.7031 kB / 0.5717 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3259, allocations: 1.031 kB / 0.5717 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3259, allocations: 0 / 0.5717 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.326, allocations: 179.1 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.326, allocations: 1.094 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3261, allocations: 16.7 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3262, allocations: 1.062 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3262, allocations: 1.344 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3262, allocations: 5.719 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3262, allocations: 0 / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.3265, allocations: 211.2 kB / 0.5721 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.3266, allocations: 83.05 kB / 0.5722 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3266, allocations: 3.781 kB / 0.5722 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3267, allocations: 15.56 kB / 0.5722 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3267, allocations: 5.031 kB / 0.5722 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3268, allocations: 5.062 kB / 0.5722 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.3268, allocations: 100.6 kB / 0.5723 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3268, allocations: 0 / 0.5723 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3271, allocations: 11.06 kB / 0.5723 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.0001206/0.3272, allocations: 105.2 kB / 0.5724 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.3275, allocations: 79.86 kB / 0.5725 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3276, allocations: 1.719 kB / 0.5725 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.3277, allocations: 42.98 kB / 0.5725 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.0002506/0.328, allocations: 9.078 kB / 0.5725 GB, free: 28.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.3283, allocations: 193.7 kB / 0.5727 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3284, allocations: 0.6878 MB / 0.5734 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3285, allocations: 10.25 kB / 0.5734 GB, free: 27.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3285, allocations: 0 / 0.5734 GB, free: 27.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002404/0.3309, allocations: 0.9045 MB / 0.5743 GB, free: 27.83 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)