Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001273/0.001273, allocations: 103.8 kB / 16.4 MB, free: 6.52 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.001197/0.001197, allocations: 188 kB / 17.34 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0025/0.0025, allocations: 281.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9982/0.9982, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4924, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.00343/0.4958, allocations: 1.495 MB / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003736/0.4962, allocations: 108.6 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.4962, allocations: 0 / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.4963, allocations: 3.938 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.4963, allocations: 7.938 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.4966, allocations: 31.89 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.4967, allocations: 39.91 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.4968, allocations: 8 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.4968, allocations: 19.92 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.4969, allocations: 15.92 kB / 0.7687 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4969, allocations: 7.938 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.497, allocations: 31.91 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.497, allocations: 8 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.4971, allocations: 23.86 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.4973, allocations: 63.59 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4973, allocations: 0 / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4973, allocations: 0 / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.4973, allocations: 0 / 0.7689 GB, free: 2.043 MB / 0.5294 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.0008046/0.4981, allocations: 385 kB / 0.7692 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4981, allocations: 12.03 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.4982, allocations: 4.891 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.4984, allocations: 168.3 kB / 0.7694 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4984, allocations: 12.36 kB / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.4984, allocations: 384 / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.4988, allocations: 70.22 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4988, allocations: 4.125 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4988, allocations: 7.938 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4988, allocations: 0 / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.4992, allocations: 79.92 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.4997, allocations: 284.9 kB / 0.7699 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.4999, allocations: 70.41 kB / 0.7699 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.5002, allocations: 48.84 kB / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/0.5005, allocations: 113.1 kB / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5005, allocations: 30.56 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.5005, allocations: 3.938 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0007817/0.5013, allocations: 145.5 kB / 0.7702 GB, free: 460 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.5013, allocations: 55.41 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.5015, allocations: 125.8 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.5016, allocations: 29.7 kB / 0.7704 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.5016, allocations: 84.14 kB / 0.7705 GB, free: 132 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.5017, allocations: 15.91 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.5017, allocations: 17.7 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.5019, allocations: 318.8 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.5022, allocations: 39.89 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5024, allocations: 35.97 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.5027, allocations: 76.78 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5028, allocations: 3.938 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005358/0.5033, allocations: 109.9 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.5033, allocations: 8 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5033, allocations: 4 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5033, allocations: 8.031 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.5035, allocations: 15.98 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5035, allocations: 3.984 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.5036, allocations: 7.984 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.5036, allocations: 7.938 kB / 0.7712 GB, free: 15.45 MB / 0.545 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.0001082/0.5037, allocations: 117.8 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.5038, allocations: 3.953 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.5042, allocations: 121.5 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5042, allocations: 0 / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5043, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.5043, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.5045, allocations: 177.6 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5045, allocations: 0 / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.5046, allocations: 19.98 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.5047, allocations: 4 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.5047, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5047, allocations: 3.938 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5047, allocations: 3.938 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.5052, allocations: 211.4 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.5053, allocations: 89 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5053, allocations: 0 / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5055, allocations: 15.97 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.5055, allocations: 4 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.5055, allocations: 0 / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.74e-05/0.5056, allocations: 101.3 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5056, allocations: 0 / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004001/0.506, allocations: 15.94 kB / 0.772 GB, free: 14.47 MB / 0.545 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.0002205/0.5062, allocations: 103.2 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004776/0.5067, allocations: 83.86 kB / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5067, allocations: 0 / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.5069, allocations: 39.95 kB / 0.7722 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.5073, allocations: 18.27 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.5077, allocations: 149.5 kB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.5081, allocations: 0.6885 MB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.5081, allocations: 0 / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.5081, allocations: 11.44 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5081, allocations: 0 / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Templates: time 0.004421/0.5126, allocations: 0.8181 MB / 0.7739 GB, free: 12.52 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)