Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 292.3 MB / 308.1 MB, free: 4.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001212, allocations: 188.5 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009689/0.0009688, allocations: 95.89 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2384, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002546/0.241, allocations: 1.541 MB / 0.9837 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003297/0.2414, allocations: 116.6 kB / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2414, allocations: 0 / 0.9838 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.996e-05/0.2415, allocations: 7.922 kB / 0.9838 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.612e-05/0.2415, allocations: 7.922 kB / 0.9839 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.2417, allocations: 15.98 kB / 0.9839 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.2418, allocations: 35.92 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.2419, allocations: 11.98 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.2419, allocations: 23.92 kB / 0.9839 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.242, allocations: 19.86 kB / 0.984 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.242, allocations: 7.938 kB / 0.984 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.963e-05/0.2421, allocations: 15.98 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.2421, allocations: 15.97 kB / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.2422, allocations: 19.86 kB / 0.984 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2423, allocations: 55.81 kB / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2423, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2423, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2423, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.7136 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.0005222/0.2428, allocations: 387.4 kB / 0.9844 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2429, allocations: 12.03 kB / 0.9844 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2429, allocations: 0.9375 kB / 0.9844 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.243, allocations: 176.2 kB / 0.9846 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.243, allocations: 4.375 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2431, allocations: 384 / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.2433, allocations: 78.2 kB / 0.9847 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2433, allocations: 4.125 kB / 0.9847 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2434, allocations: 7.938 kB / 0.9847 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2434, allocations: 0 / 0.9847 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2436, allocations: 79.92 kB / 0.9848 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.244, allocations: 284.9 kB / 0.9851 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.2442, allocations: 66.47 kB / 0.9851 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2443, allocations: 40.92 kB / 0.9852 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002337/0.2446, allocations: 121 kB / 0.9853 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2446, allocations: 34.56 kB / 0.9853 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2446, allocations: 0 / 0.9853 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005147/0.2451, allocations: 141.5 kB / 0.9854 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2452, allocations: 63.33 kB / 0.9855 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.2453, allocations: 129.8 kB / 0.9856 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2453, allocations: 25.7 kB / 0.9857 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.2454, allocations: 92.12 kB / 0.9857 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.2454, allocations: 7.906 kB / 0.9857 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.2454, allocations: 13.72 kB / 0.9858 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.2455, allocations: 318.8 kB / 0.9861 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.2457, allocations: 39.97 kB / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2458, allocations: 39.89 kB / 0.9861 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.2461, allocations: 76.78 kB / 0.9862 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2461, allocations: 3.938 kB / 0.9862 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002931/0.2464, allocations: 117.5 kB / 0.9863 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2464, allocations: 4 kB / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2464, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2464, allocations: 0 / 0.9863 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2465, allocations: 15.98 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2465, allocations: 0 / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.2466, allocations: 15.98 kB / 0.9864 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.2466, allocations: 0 / 0.9864 GB, free: 5.867 MB / 0.7136 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 7.347e-05/0.2467, allocations: 129.7 kB / 0.9865 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.2468, allocations: 7.906 kB / 0.9865 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.2471, allocations: 117.5 kB / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2471, allocations: 4 kB / 0.9866 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2471, allocations: 3.984 kB / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2471, allocations: 0 / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2473, allocations: 181.6 kB / 0.9868 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2473, allocations: 3.984 kB / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.2474, allocations: 11.98 kB / 0.9868 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2474, allocations: 4 kB / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2474, allocations: 0 / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2474, allocations: 0 / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2474, allocations: 0 / 0.9868 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.2481, allocations: 0.798 MB / 0.9876 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.2481, allocations: 93.42 kB / 0.9877 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2482, allocations: 0 / 0.9877 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2483, allocations: 15.98 kB / 0.9877 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.2483, allocations: 11.88 kB / 0.9877 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2483, allocations: 7.984 kB / 0.9877 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.2484, allocations: 95.77 kB / 0.9878 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2484, allocations: 0 / 0.9878 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000301/0.2487, allocations: 16 kB / 0.9878 GB, free: 4.23 MB / 0.7136 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.0001457/0.2488, allocations: 111.2 kB / 0.9879 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.2492, allocations: 75.91 kB / 0.988 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2492, allocations: 7.938 kB / 0.988 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.2493, allocations: 39.91 kB / 0.988 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.2496, allocations: 8 kB / 0.988 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.2499, allocations: 266.2 kB / 0.9883 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2502, allocations: 0.6887 MB / 0.989 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.2502, allocations: 4 kB / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.2502, allocations: 7.438 kB / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2502, allocations: 0 / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of Templates: time 0.00239/0.2526, allocations: 0.6848 MB / 0.9897 GB, free: 2.281 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)