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.001127/0.001127, allocations: 100.8 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.00114/0.00114, allocations: 189.6 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3254, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002713/0.3282, allocations: 1.474 MB / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.3285, allocations: 116.8 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.3285, allocations: 1.25 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.009e-05/0.3286, allocations: 4.641 kB / 0.5688 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.3286, allocations: 12.36 kB / 0.5688 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3289, allocations: 26.23 kB / 0.5689 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.329, allocations: 38.72 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3291, allocations: 6.641 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.3292, allocations: 23.31 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.3292, allocations: 19.59 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3293, allocations: 3.594 kB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.3294, allocations: 24.72 kB / 0.569 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.3294, allocations: 14.56 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.3295, allocations: 27.89 kB / 0.569 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3296, allocations: 52.33 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3296, allocations: 1.719 kB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3296, allocations: 7.875 kB / 0.5691 GB, free: 31.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3296, allocations: 2.531 kB / 0.5691 GB, free: 31.34 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.0005401/0.3302, allocations: 380 kB / 0.5694 GB, free: 30.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3302, allocations: 10.45 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.3303, allocations: 32.19 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3303, allocations: 4.828 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3304, allocations: 174.1 kB / 0.5697 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.3304, allocations: 1.375 kB / 0.5697 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3305, allocations: 4.031 kB / 0.5697 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3307, allocations: 77.69 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3307, allocations: 4.5 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3307, allocations: 2.766 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3308, allocations: 3.938 kB / 0.5697 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.331, allocations: 78.38 kB / 0.5698 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.3313, allocations: 288.4 kB / 0.5701 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3315, allocations: 66.67 kB / 0.5702 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3317, allocations: 46.7 kB / 0.5702 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.3319, allocations: 108.7 kB / 0.5703 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.3319, allocations: 37.28 kB / 0.5703 GB, free: 30.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.3319, allocations: 0 / 0.5703 GB, free: 30.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005271/0.3325, allocations: 149.5 kB / 0.5705 GB, free: 30.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.3325, allocations: 52.47 kB / 0.5705 GB, free: 30.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.3326, allocations: 128.3 kB / 0.5707 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3326, allocations: 27.2 kB / 0.5707 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.3326, allocations: 93.83 kB / 0.5708 GB, free: 29.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3327, allocations: 6.141 kB / 0.5708 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3327, allocations: 17.92 kB / 0.5708 GB, free: 29.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3328, allocations: 315.1 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.3329, allocations: 36.41 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.3331, allocations: 40.2 kB / 0.5712 GB, free: 29.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.3334, allocations: 85.64 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3334, allocations: 5.25 kB / 0.5713 GB, free: 29.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003184/0.3337, allocations: 110.3 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3337, allocations: 7.609 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3337, allocations: 1.031 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3337, allocations: 4.438 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3339, allocations: 17.81 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3339, allocations: 1 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.334, allocations: 15.03 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.334, allocations: 5.531 kB / 0.5714 GB, free: 29.42 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.802e-05/0.3341, allocations: 121.3 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3341, allocations: 9.266 kB / 0.5715 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.3345, allocations: 123.9 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3345, allocations: 384 / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3345, allocations: 2.781 kB / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3345, allocations: 0 / 0.5717 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3346, allocations: 179.7 kB / 0.5718 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3347, allocations: 1.531 kB / 0.5718 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.3347, allocations: 19.97 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3348, allocations: 1.125 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3348, allocations: 0.7812 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3348, allocations: 1.859 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3348, allocations: 1.156 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.3351, allocations: 210.2 kB / 0.5721 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.3352, allocations: 85.75 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3352, allocations: 1.156 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3353, allocations: 11.83 kB / 0.5722 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3353, allocations: 7.031 kB / 0.5722 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3353, allocations: 1.531 kB / 0.5722 GB, free: 28.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.3354, allocations: 101.2 kB / 0.5723 GB, free: 28.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3354, allocations: 0 / 0.5723 GB, free: 28.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.3356, allocations: 16.23 kB / 0.5723 GB, free: 28.7 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.000533/0.3362, allocations: 0.744 MB / 0.573 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.3365, allocations: 78.2 kB / 0.5731 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3365, allocations: 1.125 kB / 0.5731 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3367, allocations: 43.42 kB / 0.5731 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.3369, allocations: 6.578 kB / 0.5731 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.3374, allocations: 191 kB / 0.5733 GB, free: 27.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3375, allocations: 0.6861 MB / 0.574 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.3375, allocations: 12.12 kB / 0.574 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3376, allocations: 19.75 kB / 0.574 GB, free: 27.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3376, allocations: 0 / 0.574 GB, free: 27.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.3541, allocations: 1.844 MB / 0.5758 GB, free: 26.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.416, allocations: 10.62 kB / 0.5758 GB, free: 26.77 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)