Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 61.03 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3112, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002845/0.3141, allocations: 1.488 MB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003554/0.3145, allocations: 107.7 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.3146, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.309e-05/0.3146, allocations: 3.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.938e-05/0.3147, allocations: 3.938 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.315, allocations: 23.97 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.3151, allocations: 43.8 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3152, allocations: 19.97 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.3152, allocations: 19.92 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.3153, allocations: 23.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3153, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.3154, allocations: 19.98 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.3155, allocations: 11.98 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3155, allocations: 27.8 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3157, allocations: 47.86 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3157, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3157, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3157, allocations: 0 / 1.07 GB, free: 8.602 MB / 0.8262 GB 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.0006375/0.3163, allocations: 387.5 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3164, allocations: 12.03 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.3164, allocations: 4.844 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3166, allocations: 175.4 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3166, allocations: 4.375 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3166, allocations: 8.312 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3169, allocations: 78.2 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3169, allocations: 192 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3169, allocations: 11.92 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3169, allocations: 0 / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.3172, allocations: 71.92 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.3176, allocations: 281 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3179, allocations: 74.41 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.318, allocations: 40.92 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.3183, allocations: 109 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3183, allocations: 38.56 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3183, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005635/0.3189, allocations: 145.5 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.3189, allocations: 55.39 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3191, allocations: 125.8 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3191, allocations: 25.7 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.3191, allocations: 107.9 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.3192, allocations: 7.891 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.3192, allocations: 17.72 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3193, allocations: 318.8 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3195, allocations: 39.97 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3196, allocations: 39.95 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.3199, allocations: 76.78 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3199, allocations: 3.938 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003449/0.3203, allocations: 121.5 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3203, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3203, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3203, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3205, allocations: 15.98 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3205, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.3206, allocations: 11.98 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3206, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB 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 8.319e-05/0.3207, allocations: 121.8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.3207, allocations: 4 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.3211, allocations: 117.5 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3211, allocations: 3.938 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3211, allocations: 11.92 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3211, allocations: 0 / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3213, allocations: 178 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3213, allocations: 3.984 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.3214, allocations: 11.98 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3214, allocations: 4 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3214, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3214, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3214, allocations: 0 / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.3218, allocations: 215.3 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.3219, allocations: 85.02 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3219, allocations: 4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.322, allocations: 11.98 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.3221, allocations: 3.984 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3221, allocations: 4 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.3222, allocations: 107.2 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3222, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002345/0.3224, allocations: 8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB 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.0001349/0.3225, allocations: 103.8 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.3229, allocations: 75.92 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3229, allocations: 0 / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.3231, allocations: 47.95 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3233, allocations: 9.438 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.3237, allocations: 165.3 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3239, allocations: 0.6885 MB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.324, allocations: 3.859 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.324, allocations: 7.438 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.324, allocations: 4 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.003002/0.327, allocations: 0.7931 MB / 1.075 GB, free: 3.066 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)