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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001044/0.001044, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.341/1.341, allocations: 222.9 MB / 240.9 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.7802/0.7802, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3446, allocations: 77.93 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002202/0.3468, allocations: 1.465 MB / 0.5687 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.3471, allocations: 113.2 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.3471, allocations: 3.938 kB / 0.5688 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.3472, allocations: 5.562 kB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.3472, allocations: 7.469 kB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3474, allocations: 26.16 kB / 0.5689 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.3475, allocations: 39.66 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.3476, allocations: 12.91 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.3476, allocations: 16.92 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.3477, allocations: 27.09 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3477, allocations: 4.625 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.97e-05/0.3477, allocations: 21.11 kB / 0.569 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.3478, allocations: 15.38 kB / 0.569 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.3478, allocations: 21.03 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.3479, allocations: 54.48 kB / 0.5691 GB, free: 31.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3479, allocations: 4.875 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.348, allocations: 3.938 kB / 0.5691 GB, free: 31.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.348, allocations: 5 kB / 0.5691 GB, free: 31.52 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.0003988/0.3484, allocations: 376.2 kB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3484, allocations: 11.06 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.238e-05/0.3484, allocations: 37.06 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.3485, allocations: 10.06 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.708e-05/0.3485, allocations: 173.5 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3486, allocations: 1.172 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.3486, allocations: 4.125 kB / 0.5697 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.3488, allocations: 73.44 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3488, allocations: 5.922 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3488, allocations: 0 / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3488, allocations: 1.156 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.3491, allocations: 81.66 kB / 0.5698 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.3494, allocations: 289.2 kB / 0.5701 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3496, allocations: 66.47 kB / 0.5702 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3497, allocations: 42.14 kB / 0.5702 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.3499, allocations: 112.4 kB / 0.5703 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3499, allocations: 37.5 kB / 0.5703 GB, free: 30.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3499, allocations: 4.562 kB / 0.5703 GB, free: 30.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005174/0.3505, allocations: 145.2 kB / 0.5705 GB, free: 30.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.3505, allocations: 53.34 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.3506, allocations: 128.8 kB / 0.5707 GB, free: 30.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.3506, allocations: 26.2 kB / 0.5707 GB, free: 30.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.3506, allocations: 89.73 kB / 0.5708 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.3506, allocations: 9.938 kB / 0.5708 GB, free: 30.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3507, allocations: 13.98 kB / 0.5708 GB, free: 30 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.3507, allocations: 320 kB / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3509, allocations: 37.58 kB / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.351, allocations: 36.52 kB / 0.5712 GB, free: 29.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3513, allocations: 86.69 kB / 0.5713 GB, free: 29.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3513, allocations: 0 / 0.5713 GB, free: 29.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003006/0.3516, allocations: 113.2 kB / 0.5714 GB, free: 29.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3516, allocations: 5.406 kB / 0.5714 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3516, allocations: 5.016 kB / 0.5714 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3516, allocations: 0.5 kB / 0.5714 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3518, allocations: 19.98 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3518, allocations: 1.906 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.3518, allocations: 15.91 kB / 0.5714 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3519, allocations: 1.375 kB / 0.5714 GB, free: 29.59 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 4.666e-05/0.3519, allocations: 120.4 kB / 0.5715 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3519, allocations: 7.719 kB / 0.5715 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.3523, allocations: 120.7 kB / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3523, allocations: 4.375 kB / 0.5716 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3523, allocations: 0.5625 kB / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3523, allocations: 0 / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.3524, allocations: 183.6 kB / 0.5718 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3524, allocations: 5.375 kB / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.3525, allocations: 15.55 kB / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3525, allocations: 0 / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3526, allocations: 2.344 kB / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3526, allocations: 0.5625 kB / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3526, allocations: 0 / 0.5718 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3529, allocations: 218.8 kB / 0.5721 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.3529, allocations: 82.8 kB / 0.5721 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3529, allocations: 1.781 kB / 0.5721 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3531, allocations: 11.11 kB / 0.5721 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3531, allocations: 4.031 kB / 0.5722 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.3531, allocations: 8.609 kB / 0.5722 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.3532, allocations: 106.6 kB / 0.5723 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3532, allocations: 0 / 0.5723 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000217/0.3534, allocations: 9.891 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.0005092/0.3539, allocations: 0.7523 MB / 0.573 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.3543, allocations: 80.72 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3543, allocations: 0 / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.3544, allocations: 41.42 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3546, allocations: 6.656 kB / 0.5731 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.355, allocations: 188.5 kB / 0.5733 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3552, allocations: 0.6919 MB / 0.574 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.3552, allocations: 1.688 kB / 0.574 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3552, allocations: 17.56 kB / 0.574 GB, free: 27.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3552, allocations: 0.8438 kB / 0.574 GB, free: 27.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04912/0.4044, allocations: 1.843 MB / 0.5758 GB, free: 26.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.631, allocations: 11.69 kB / 0.5758 GB, free: 26.94 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)