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.001071/0.001071, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00109/0.00109, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.273/1.273, 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.002044/0.002044, allocations: 293.8 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.8838/0.8838, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 91.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4056, allocations: 86.98 MB / 0.7671 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002706/0.4084, allocations: 1.476 MB / 0.7685 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003325/0.4087, allocations: 116.5 kB / 0.7686 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.4088, allocations: 7.938 kB / 0.7686 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.4088, allocations: 4 kB / 0.7686 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.4089, allocations: 7.875 kB / 0.7686 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.4092, allocations: 19.97 kB / 0.7687 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.4093, allocations: 51.84 kB / 0.7687 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.4093, allocations: 4 kB / 0.7687 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.4094, allocations: 19.92 kB / 0.7687 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.4095, allocations: 23.91 kB / 0.7687 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.4095, allocations: 11.94 kB / 0.7688 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.947e-05/0.4096, allocations: 19.98 kB / 0.7688 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.4096, allocations: 15.92 kB / 0.7688 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.4097, allocations: 23.86 kB / 0.7688 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.4098, allocations: 63.59 kB / 0.7689 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4098, allocations: 0 / 0.7689 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4098, allocations: 0 / 0.7689 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4098, allocations: 0 / 0.7689 GB, free: 2.184 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.0005151/0.4103, allocations: 377.9 kB / 0.7692 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4104, allocations: 12.03 kB / 0.7692 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.4104, allocations: 4.844 kB / 0.7693 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.4106, allocations: 172.2 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4106, allocations: 8.375 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4106, allocations: 4.312 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.4109, allocations: 74.2 kB / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4109, allocations: 192 / 0.7695 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4109, allocations: 7.938 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4109, allocations: 4 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.4112, allocations: 67.92 kB / 0.7696 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.4116, allocations: 288.9 kB / 0.7699 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.4118, allocations: 74.41 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.412, allocations: 40.92 kB / 0.77 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.4122, allocations: 105.1 kB / 0.7701 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4123, allocations: 42.55 kB / 0.7701 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4123, allocations: 4 kB / 0.7701 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005564/0.4128, allocations: 137.6 kB / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.4129, allocations: 55.34 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.413, allocations: 133.8 kB / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.413, allocations: 25.7 kB / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.4131, allocations: 92.05 kB / 0.7705 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.4131, allocations: 11.84 kB / 0.7705 GB, free: 264 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.4131, allocations: 13.72 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4133, allocations: 322.8 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.4134, allocations: 35.95 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.4136, allocations: 39.97 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.4138, allocations: 72.78 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4139, allocations: 3.938 kB / 0.771 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00033/0.4142, allocations: 125.8 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4142, allocations: 4 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4142, allocations: 0 / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4142, allocations: 0 / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4144, allocations: 15.98 kB / 0.7711 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4144, allocations: 3.938 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.4145, allocations: 15.97 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4145, allocations: 3.984 kB / 0.7712 GB, free: 15.59 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.914e-05/0.4146, allocations: 124.2 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.4146, allocations: 4 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.415, allocations: 117.5 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.415, allocations: 0 / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.415, allocations: 0 / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.415, allocations: 4 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.4152, allocations: 193.4 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4152, allocations: 0 / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.4153, allocations: 15.98 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4153, allocations: 0 / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4153, allocations: 4 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4153, allocations: 0 / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4153, allocations: 0 / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.4157, allocations: 207.4 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4157, allocations: 85.02 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4157, allocations: 0 / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4159, allocations: 7.984 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.4159, allocations: 7.984 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.4159, allocations: 0 / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.416, allocations: 106.3 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.416, allocations: 0 / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002288/0.4162, allocations: 12 kB / 0.772 GB, free: 14.62 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.0001381/0.4164, allocations: 115.1 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.4167, allocations: 75.92 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4167, allocations: 4 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.4169, allocations: 39.95 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.4171, allocations: 10.44 kB / 0.7723 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.4175, allocations: 183.1 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.4177, allocations: 0.6885 MB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.4178, allocations: 7.438 kB / 0.7731 GB, free: 13.44 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.4178, allocations: 8 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Templates: time 0.002209/0.42, allocations: 0.9059 MB / 0.774 GB, free: 12.53 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)