Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003844/0.003843, allocations: 355.7 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.387/1.387, allocations: 165.8 MB / 182.5 MB, free: 5.438 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.715/3.715, allocations: 410.8 MB / 0.5995 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001695/0.001695, allocations: 205.4 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006866/0.0006869, allocations: 15.94 kB / 0.7423 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3284, allocations: 67.44 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001325/0.3297, allocations: 1.188 MB / 0.8093 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.33, allocations: 99.7 kB / 0.8094 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.33, allocations: 0 / 0.8094 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.3301, allocations: 7.938 kB / 0.8094 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.3301, allocations: 3.938 kB / 0.8094 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.3303, allocations: 23.95 kB / 0.8094 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.056e-05/0.3304, allocations: 39.86 kB / 0.8095 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.776e-05/0.3304, allocations: 11.98 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.3305, allocations: 11.98 kB / 0.8095 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.3306, allocations: 19.92 kB / 0.8095 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3306, allocations: 4 kB / 0.8095 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.3307, allocations: 15.98 kB / 0.8095 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.3307, allocations: 11.92 kB / 0.8096 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.3307, allocations: 29.7 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.133e-05/0.3308, allocations: 43.92 kB / 0.8096 GB, free: 27.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.353e-06/0.3308, allocations: 0 / 0.8096 GB, free: 27.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.708e-06/0.3308, allocations: 3.938 kB / 0.8096 GB, free: 27.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.72e-06/0.3309, allocations: 4 kB / 0.8096 GB, free: 27.26 MB / 378.7 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.000422/0.3313, allocations: 377.2 kB / 0.81 GB, free: 26.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3313, allocations: 12.02 kB / 0.81 GB, free: 26.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3314, allocations: 7.906 kB / 0.81 GB, free: 26.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.3315, allocations: 171 kB / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-06/0.3315, allocations: 0 / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3315, allocations: 0 / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.3318, allocations: 85.64 kB / 0.8103 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-06/0.3318, allocations: 3.938 kB / 0.8103 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-06/0.3318, allocations: 3.953 kB / 0.8103 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.526e-06/0.3318, allocations: 4 kB / 0.8103 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3322, allocations: 107.9 kB / 0.8104 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.3325, allocations: 280.9 kB / 0.8106 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.3328, allocations: 78.53 kB / 0.8107 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.333, allocations: 56.91 kB / 0.8108 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.3332, allocations: 113 kB / 0.8109 GB, free: 25.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3332, allocations: 34.56 kB / 0.8109 GB, free: 25.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.046e-06/0.3332, allocations: 0 / 0.8109 GB, free: 25.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006223/0.3339, allocations: 177.5 kB / 0.8111 GB, free: 25.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.3339, allocations: 51.41 kB / 0.8111 GB, free: 25.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.334, allocations: 129.8 kB / 0.8112 GB, free: 25.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.334, allocations: 25.7 kB / 0.8113 GB, free: 25.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.3341, allocations: 100 kB / 0.8114 GB, free: 25.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3341, allocations: 11.78 kB / 0.8114 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-06/0.3341, allocations: 0 / 0.8114 GB, free: 25.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.3342, allocations: 318.8 kB / 0.8117 GB, free: 24.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.3344, allocations: 47.95 kB / 0.8117 GB, free: 24.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.3345, allocations: 47.95 kB / 0.8118 GB, free: 24.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.3347, allocations: 47.97 kB / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-06/0.3348, allocations: 0 / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003954/0.3352, allocations: 141.5 kB / 0.812 GB, free: 24.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3352, allocations: 7.953 kB / 0.812 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-06/0.3352, allocations: 0 / 0.812 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3352, allocations: 0 / 0.812 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3354, allocations: 23.98 kB / 0.812 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.116e-06/0.3354, allocations: 0 / 0.812 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.23e-05/0.3355, allocations: 15.98 kB / 0.812 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3355, allocations: 4 kB / 0.812 GB, free: 24.59 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.3356, allocations: 117.8 kB / 0.8121 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.3356, allocations: 4 kB / 0.8121 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.3361, allocations: 145.4 kB / 0.8123 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-06/0.3361, allocations: 0 / 0.8123 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.911e-06/0.3361, allocations: 3.984 kB / 0.8123 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-06/0.3361, allocations: 0 / 0.8123 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3363, allocations: 185.5 kB / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.144e-06/0.3363, allocations: 3.984 kB / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3364, allocations: 19.98 kB / 0.8125 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3365, allocations: 0 / 0.8125 GB, free: 24.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.143e-06/0.3365, allocations: 8 kB / 0.8125 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.444e-06/0.3365, allocations: 3.953 kB / 0.8125 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.838e-06/0.3365, allocations: 4 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.337, allocations: 223.8 kB / 0.8127 GB, free: 23.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.337, allocations: 81.02 kB / 0.8128 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.337, allocations: 3.938 kB / 0.8128 GB, free: 23.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3372, allocations: 19.98 kB / 0.8128 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3373, allocations: 15.97 kB / 0.8128 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-06/0.3373, allocations: 0 / 0.8128 GB, free: 23.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.3373, allocations: 100.1 kB / 0.8129 GB, free: 23.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.3374, allocations: 0 / 0.8129 GB, free: 23.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.3377, allocations: 12 kB / 0.8129 GB, free: 23.56 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.3378, allocations: 103.2 kB / 0.813 GB, free: 23.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.3382, allocations: 95.92 kB / 0.8131 GB, free: 23.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.497e-06/0.3382, allocations: 4 kB / 0.8131 GB, free: 23.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.3384, allocations: 59.89 kB / 0.8132 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3388, allocations: 7.938 kB / 0.8132 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3391, allocations: 158.5 kB / 0.8133 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3395, allocations: 0.6965 MB / 0.814 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.3395, allocations: 4 kB / 0.814 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.3396, allocations: 7.438 kB / 0.814 GB, free: 22.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.436e-06/0.3396, allocations: 3.938 kB / 0.814 GB, free: 22.37 MB / 378.7 MB Notification: Performance of Templates: time 0.003059/0.3426, allocations: 0.646 MB / 0.8146 GB, free: 21.73 MB / 378.7 MB