Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7652/0.7652, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 191.9 kB / 173.8 MB, free: 6.102 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000891/0.0008911, allocations: 90.5 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003577, allocations: 10.97 kB / 0.5603 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 76.75 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.3169, allocations: 102.6 MB / 0.7355 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.3172, allocations: 79.94 kB / 0.7356 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003372/0.3206, allocations: 1.094 MB / 0.7367 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3206, allocations: 4 kB / 0.7367 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3206, allocations: 0 / 0.7367 GB, free: 6.602 MB / 0.5105 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.0005676/0.3212, allocations: 379.1 kB / 0.737 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3212, allocations: 8.031 kB / 0.737 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3213, allocations: 11.95 kB / 0.737 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3214, allocations: 178.9 kB / 0.7372 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3215, allocations: 0 / 0.7372 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3215, allocations: 4 kB / 0.7372 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3218, allocations: 85.64 kB / 0.7373 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3218, allocations: 0 / 0.7373 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3218, allocations: 7.938 kB / 0.7373 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3218, allocations: 0 / 0.7373 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.3222, allocations: 99.91 kB / 0.7374 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.3228, allocations: 316.9 kB / 0.7377 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.323, allocations: 86.52 kB / 0.7378 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.3232, allocations: 105.2 kB / 0.7379 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3233, allocations: 38.5 kB / 0.7379 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3233, allocations: 0 / 0.7379 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005939/0.3239, allocations: 185.4 kB / 0.7381 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3239, allocations: 55.41 kB / 0.7382 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.324, allocations: 119.9 kB / 0.7383 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.324, allocations: 25.7 kB / 0.7383 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.3241, allocations: 96.12 kB / 0.7384 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3241, allocations: 7.812 kB / 0.7384 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.3242, allocations: 0 / 0.7384 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3243, allocations: 318.8 kB / 0.7387 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3244, allocations: 47.95 kB / 0.7387 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3246, allocations: 52.14 kB / 0.7388 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3247, allocations: 59.97 kB / 0.7389 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3248, allocations: 0 / 0.7389 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003294/0.3251, allocations: 133.6 kB / 0.739 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3251, allocations: 4 kB / 0.739 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3251, allocations: 0 / 0.739 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3251, allocations: 0 / 0.739 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3253, allocations: 31.91 kB / 0.739 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3253, allocations: 3.953 kB / 0.739 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.3254, allocations: 23.89 kB / 0.739 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.3254, allocations: 7.938 kB / 0.739 GB, free: 3.934 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.3255, allocations: 113.8 kB / 0.7392 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3255, allocations: 0 / 0.7392 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.326, allocations: 161.4 kB / 0.7393 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.326, allocations: 0 / 0.7393 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.326, allocations: 0 / 0.7393 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.326, allocations: 3.953 kB / 0.7393 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3262, allocations: 177.6 kB / 0.7395 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3262, allocations: 0 / 0.7395 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.3263, allocations: 27.97 kB / 0.7395 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3263, allocations: 0 / 0.7395 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3263, allocations: 4 kB / 0.7395 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3263, allocations: 4 kB / 0.7395 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3263, allocations: 0 / 0.7395 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.3268, allocations: 235.3 kB / 0.7397 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.3268, allocations: 84.95 kB / 0.7398 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3268, allocations: 4 kB / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.327, allocations: 19.97 kB / 0.7398 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.327, allocations: 8 kB / 0.7399 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.327, allocations: 4 kB / 0.7399 GB, free: 3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.3271, allocations: 99.27 kB / 0.74 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3271, allocations: 0 / 0.74 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002195/0.3273, allocations: 15.98 kB / 0.74 GB, free: 2.887 MB / 0.5105 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 (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.0001568/0.3275, allocations: 103 kB / 0.7401 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.3279, allocations: 95.92 kB / 0.7402 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3279, allocations: 0 / 0.7402 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.328, allocations: 63.89 kB / 0.7402 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3282, allocations: 6.609 kB / 0.7402 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.3286, allocations: 164.6 kB / 0.7404 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3288, allocations: 0.6887 MB / 0.7411 GB, free: 1.711 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.3289, allocations: 3.984 kB / 0.7411 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.3289, allocations: 11.44 kB / 0.7411 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.3289, allocations: 0 / 0.7411 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of Templates: time 0.002901/0.3318, allocations: 0.6476 MB / 0.7417 GB, free: 1.055 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)