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: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear") translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001628/0.001628, allocations: 111.8 kB / 17.08 MB, free: 5.949 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.001705/0.001705, allocations: 190.9 kB / 18.02 MB, free: 5.031 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.86/0.86, allocations: 126.4 MB / 418.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003342/0.003342, allocations: 67.72 kB / 0.5742 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.226, allocations: 78.78 MB / 0.6511 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.004105/0.2301, allocations: 1.477 MB / 0.6526 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004709/0.2306, allocations: 112.6 kB / 0.6527 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.2307, allocations: 4 kB / 0.6527 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.595e-05/0.2308, allocations: 7.922 kB / 0.6527 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.2309, allocations: 7.922 kB / 0.6527 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.2312, allocations: 23.91 kB / 0.6527 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2313, allocations: 39.92 kB / 0.6528 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2314, allocations: 15.98 kB / 0.6528 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.2315, allocations: 19.92 kB / 0.6528 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.2316, allocations: 15.92 kB / 0.6528 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.2316, allocations: 4 kB / 0.6528 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.866e-05/0.2317, allocations: 27.92 kB / 0.6528 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.2318, allocations: 15.97 kB / 0.6528 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.2319, allocations: 23.81 kB / 0.6529 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.2321, allocations: 59.73 kB / 0.6529 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2321, allocations: 0 / 0.6529 GB, free: 1.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2321, allocations: 0 / 0.6529 GB, free: 1.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.2322, allocations: 4 kB / 0.6529 GB, free: 1.723 MB / 494.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.0007863/0.2329, allocations: 383.1 kB / 0.6533 GB, free: 1.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.233, allocations: 12.03 kB / 0.6533 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.2331, allocations: 4.891 kB / 0.6533 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2333, allocations: 176.3 kB / 0.6535 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2333, allocations: 4.375 kB / 0.6535 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.2333, allocations: 384 / 0.6535 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.2337, allocations: 78.2 kB / 0.6536 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2338, allocations: 192 / 0.6536 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2338, allocations: 7.938 kB / 0.6536 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2338, allocations: 0 / 0.6536 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.2343, allocations: 79.86 kB / 0.6536 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.2349, allocations: 281 kB / 0.6539 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.2353, allocations: 66.47 kB / 0.654 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.2356, allocations: 44.92 kB / 0.654 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.2359, allocations: 113 kB / 0.6541 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.236, allocations: 34.5 kB / 0.6542 GB, free: 288 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.236, allocations: 4 kB / 0.6542 GB, free: 284 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009445/0.237, allocations: 149.5 kB / 0.6543 GB, free: 128 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.237, allocations: 55.41 kB / 0.6544 GB, free: 60 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.2372, allocations: 129.8 kB / 0.6545 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2373, allocations: 25.7 kB / 0.6545 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.2374, allocations: 96.12 kB / 0.6546 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.2374, allocations: 11.84 kB / 0.6546 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.2375, allocations: 13.72 kB / 0.6546 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.2377, allocations: 318.8 kB / 0.6549 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.238, allocations: 35.97 kB / 0.655 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2383, allocations: 43.89 kB / 0.655 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.2388, allocations: 76.78 kB / 0.6551 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2388, allocations: 11.94 kB / 0.6551 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005795/0.2394, allocations: 105.6 kB / 0.6552 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2394, allocations: 4 kB / 0.6552 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2394, allocations: 0 / 0.6552 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2395, allocations: 0 / 0.6552 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.2397, allocations: 19.98 kB / 0.6552 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2397, allocations: 0 / 0.6552 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2398, allocations: 23.88 kB / 0.6552 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2399, allocations: 0 / 0.6552 GB, free: 15.12 MB / 0.4981 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 0.0001359/0.24, allocations: 125.7 kB / 0.6554 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.2401, allocations: 4 kB / 0.6554 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.2407, allocations: 117.5 kB / 0.6555 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2407, allocations: 0 / 0.6555 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2407, allocations: 0 / 0.6555 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2407, allocations: 0 / 0.6555 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.2411, allocations: 185.6 kB / 0.6556 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2411, allocations: 0 / 0.6556 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.2413, allocations: 15.97 kB / 0.6557 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2413, allocations: 0 / 0.6557 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2413, allocations: 4 kB / 0.6557 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2413, allocations: 0 / 0.6557 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2413, allocations: 4 kB / 0.6557 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.242, allocations: 215.2 kB / 0.6559 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.2421, allocations: 85.06 kB / 0.656 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2421, allocations: 0 / 0.656 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2423, allocations: 11.98 kB / 0.656 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.2424, allocations: 11.98 kB / 0.656 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.2424, allocations: 432 / 0.656 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2426, allocations: 96.77 kB / 0.6561 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2426, allocations: 0 / 0.6561 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004435/0.243, allocations: 12 kB / 0.6561 GB, free: 14.14 MB / 0.4981 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.0001873/0.2432, allocations: 99.23 kB / 0.6562 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005808/0.2438, allocations: 91.84 kB / 0.6563 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2438, allocations: 0 / 0.6563 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.2441, allocations: 40.05 kB / 0.6563 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2446, allocations: 23.84 kB / 0.6563 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.2451, allocations: 159 kB / 0.6565 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.2455, allocations: 0.6885 MB / 0.6571 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.2456, allocations: 0 / 0.6571 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.2456, allocations: 11.44 kB / 0.6572 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2457, allocations: 0 / 0.6572 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.005038/0.2507, allocations: 0.8056 MB / 0.6579 GB, free: 12.18 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)