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.001264/0.001264, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.00134/0.00134, allocations: 187 kB / 17.34 MB, free: 5.734 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 283.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8999/0.8999, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 91.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3994, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002436/0.4019, allocations: 1.473 MB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.4022, allocations: 120.4 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.4022, allocations: 0 / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.4023, allocations: 0 / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.4023, allocations: 7.875 kB / 0.7686 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4026, allocations: 23.97 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.4027, allocations: 43.84 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.4027, allocations: 15.98 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.4028, allocations: 19.92 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.4029, allocations: 19.92 kB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4029, allocations: 4 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.4029, allocations: 23.98 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.403, allocations: 15.92 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.403, allocations: 19.86 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.4032, allocations: 59.45 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4032, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4032, allocations: 0 / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4032, allocations: 4 kB / 0.7689 GB, free: 2.047 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.0004969/0.4037, allocations: 377.9 kB / 0.7692 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4037, allocations: 12.03 kB / 0.7692 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4038, allocations: 8.844 kB / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.4039, allocations: 176.2 kB / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.4039, allocations: 384 / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4039, allocations: 4.359 kB / 0.7694 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4042, allocations: 82.2 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.4042, allocations: 192 / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4042, allocations: 7.938 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4042, allocations: 4 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.4045, allocations: 71.92 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.4048, allocations: 292.8 kB / 0.7698 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4051, allocations: 66.47 kB / 0.7699 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.4052, allocations: 40.92 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.4054, allocations: 109.1 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.4055, allocations: 38.55 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4055, allocations: 0 / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005165/0.406, allocations: 145.5 kB / 0.7702 GB, free: 464 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.406, allocations: 55.41 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.4061, allocations: 129.1 kB / 0.7704 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.4062, allocations: 25.7 kB / 0.7704 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.4062, allocations: 96.05 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.4062, allocations: 7.844 kB / 0.7705 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.4063, allocations: 21.66 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4064, allocations: 314.8 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.4065, allocations: 47.89 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4067, allocations: 35.97 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.407, allocations: 76.78 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.407, 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.0002985/0.4073, allocations: 117.5 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4073, allocations: 4 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4073, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.4073, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4074, allocations: 15.98 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4074, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.4075, allocations: 23.97 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4075, allocations: 0 / 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 7.737e-05/0.4076, allocations: 116.2 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.4077, allocations: 4 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.408, allocations: 125.4 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.408, allocations: 4.375 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.408, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.408, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.4082, allocations: 189.5 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4082, allocations: 3.984 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.4083, allocations: 15.98 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4083, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.4083, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4083, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4083, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.4087, allocations: 207.4 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/0.4087, allocations: 85.02 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4088, allocations: 0 / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.4089, allocations: 23.97 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.4089, allocations: 4 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.4089, allocations: 3.938 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.409, allocations: 99.27 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.409, allocations: 0 / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002174/0.4092, allocations: 12 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.0001259/0.4093, allocations: 103.2 kB / 0.7721 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.4097, allocations: 79.86 kB / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4097, allocations: 4 kB / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4098, allocations: 43.95 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4101, allocations: 14.09 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.000329/0.4104, allocations: 183.1 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4106, allocations: 0.6963 MB / 0.7731 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.4107, allocations: 7.438 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4107, allocations: 0 / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of Templates: time 0.002167/0.4129, allocations: 0.8952 MB / 0.774 GB, free: 12.39 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)