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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005465/0.005465, allocations: 103.3 kB / 15.73 MB, free: 6.008 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.001155/0.001155, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 278.7 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8904/0.8904, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 99.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4773, allocations: 86.97 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002661/0.48, allocations: 1.492 MB / 0.7674 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00033/0.4803, allocations: 112.6 kB / 0.7675 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.4804, allocations: 0 / 0.7675 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.4804, allocations: 3.938 kB / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.4805, allocations: 11.88 kB / 0.7675 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.4807, allocations: 27.97 kB / 0.7675 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.36e-05/0.4808, allocations: 43.89 kB / 0.7676 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.4809, allocations: 6.812 kB / 0.7676 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.149e-05/0.481, allocations: 31.8 kB / 0.7676 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.4811, allocations: 19.91 kB / 0.7676 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.4811, allocations: 4 kB / 0.7676 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.4811, allocations: 19.98 kB / 0.7676 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.4812, allocations: 15.94 kB / 0.7676 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.4812, allocations: 23.86 kB / 0.7677 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.4814, allocations: 59.8 kB / 0.7677 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4814, allocations: 0 / 0.7677 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4814, allocations: 4 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4814, allocations: 0 / 0.7677 GB, free: 2.02 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.0005463/0.482, allocations: 367.3 kB / 0.7681 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.482, allocations: 12.03 kB / 0.7681 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.4821, allocations: 38.75 kB / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.4821, allocations: 8.844 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4822, allocations: 176.2 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4823, allocations: 384 / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.4823, allocations: 4.375 kB / 0.7683 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.4826, allocations: 74.16 kB / 0.7684 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4826, allocations: 3.938 kB / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4826, allocations: 0 / 0.7684 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4826, allocations: 4 kB / 0.7684 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.4829, allocations: 79.91 kB / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.4833, allocations: 284.8 kB / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.4835, allocations: 74.47 kB / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.4836, allocations: 44.91 kB / 0.7688 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.4839, allocations: 109.1 kB / 0.769 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.484, allocations: 30.56 kB / 0.769 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.484, allocations: 4 kB / 0.769 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005041/0.4845, allocations: 141.6 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4845, allocations: 55.41 kB / 0.7692 GB, free: 336 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4847, allocations: 127.3 kB / 0.7693 GB, free: 200 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4847, allocations: 29.7 kB / 0.7693 GB, free: 164 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.4848, allocations: 99.98 kB / 0.7694 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.4848, allocations: 15.83 kB / 0.7694 GB, free: 44 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.4848, allocations: 9.719 kB / 0.7694 GB, free: 28 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.485, allocations: 318.8 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4851, allocations: 35.95 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.4853, allocations: 40.14 kB / 0.7698 GB, free: 15.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.4856, allocations: 88.8 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4856, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.4859, allocations: 109.5 kB / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4859, allocations: 10.5 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4859, allocations: 3.938 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4859, allocations: 0 / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4861, allocations: 19.91 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4861, allocations: 4 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.188e-05/0.4862, allocations: 7.984 kB / 0.7701 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4862, allocations: 0 / 0.7701 GB, free: 15.39 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 8.081e-05/0.4863, allocations: 121.8 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.4863, allocations: 11.89 kB / 0.7702 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.4867, allocations: 117.5 kB / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4867, allocations: 0 / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4867, allocations: 4 kB / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4867, allocations: 4 kB / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.4869, allocations: 177.6 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4869, allocations: 4 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.487, allocations: 19.92 kB / 0.7705 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.487, allocations: 0 / 0.7705 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.487, allocations: 3.984 kB / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.487, allocations: 0 / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.487, allocations: 0 / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4874, allocations: 207.4 kB / 0.7707 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.4874, allocations: 85 kB / 0.7708 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4874, allocations: 0 / 0.7708 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.4875, allocations: 11.98 kB / 0.7708 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.4876, allocations: 8 kB / 0.7708 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4876, allocations: 0 / 0.7708 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.4876, allocations: 99.25 kB / 0.7709 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4876, allocations: 7.938 kB / 0.7709 GB, free: 14.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002319/0.4879, allocations: 8 kB / 0.7709 GB, free: 14.41 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.0006598/0.4886, allocations: 0.7513 MB / 0.7716 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003093/0.4889, allocations: 71.92 kB / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4889, allocations: 4 kB / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.489, allocations: 47.89 kB / 0.7718 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.4893, allocations: 4.375 kB / 0.7718 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.4898, allocations: 189.6 kB / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.4902, allocations: 0.6885 MB / 0.7726 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.4902, allocations: 0 / 0.7726 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.4903, allocations: 23.36 kB / 0.7726 GB, free: 12.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4903, allocations: 0 / 0.7726 GB, free: 12.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.5099, allocations: 1.927 MB / 0.7745 GB, free: 10.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.523, allocations: 8.562 kB / 0.7745 GB, free: 10.71 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)