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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9131/0.9131, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 177 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 447.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 99.7 kB / 0.5188 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 276.6 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004141, allocations: 12 kB / 0.6929 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4051, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.565, allocations: 108.7 MB / 0.8799 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5653, allocations: 79.95 kB / 0.88 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003304/0.5687, allocations: 1.085 MB / 0.881 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5687, allocations: 4 kB / 0.881 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5687, allocations: 0 / 0.881 GB, free: 12.24 MB / 0.5417 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.0005071/0.5692, allocations: 383.1 kB / 0.8814 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5693, allocations: 12.03 kB / 0.8814 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.5693, allocations: 30.56 kB / 0.8814 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.5693, allocations: 4 kB / 0.8815 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.5695, allocations: 175.8 kB / 0.8816 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5695, allocations: 7.953 kB / 0.8816 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.5695, allocations: 4 kB / 0.8816 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.5698, allocations: 89.58 kB / 0.8817 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5698, allocations: 0 / 0.8817 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5699, allocations: 4 kB / 0.8817 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.5699, allocations: 0 / 0.8817 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.5702, allocations: 99.91 kB / 0.8818 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.5708, allocations: 332.8 kB / 0.8821 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.5711, allocations: 82.45 kB / 0.8822 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.5713, allocations: 113.2 kB / 0.8823 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5713, allocations: 30.56 kB / 0.8823 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5713, allocations: 0 / 0.8823 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005948/0.5719, allocations: 185.5 kB / 0.8825 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.572, allocations: 55.41 kB / 0.8826 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.5721, allocations: 118.1 kB / 0.8827 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.5721, allocations: 25.7 kB / 0.8827 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.5721, allocations: 92.08 kB / 0.8828 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.5722, allocations: 15.75 kB / 0.8828 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.5722, allocations: 0 / 0.8828 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5723, allocations: 322.8 kB / 0.8831 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5725, allocations: 55.89 kB / 0.8832 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5726, allocations: 55.89 kB / 0.8832 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5728, allocations: 43.97 kB / 0.8833 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5728, allocations: 0 / 0.8833 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003459/0.5732, allocations: 137.6 kB / 0.8834 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.5732, allocations: 8 kB / 0.8834 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5732, allocations: 0 / 0.8834 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5732, allocations: 4 kB / 0.8834 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5734, allocations: 19.98 kB / 0.8834 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5734, allocations: 0 / 0.8834 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.5735, allocations: 15.98 kB / 0.8835 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.5735, allocations: 0 / 0.8835 GB, free: 9.531 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.5736, allocations: 126.3 kB / 0.8836 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.5736, allocations: 7.906 kB / 0.8836 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004239/0.5741, allocations: 153.4 kB / 0.8837 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5741, allocations: 0 / 0.8837 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5741, allocations: 0 / 0.8837 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5741, allocations: 0 / 0.8837 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.5743, allocations: 177.6 kB / 0.8839 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5743, allocations: 3.984 kB / 0.8839 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.5744, allocations: 23.98 kB / 0.8839 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5744, allocations: 0 / 0.8839 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5744, allocations: 4 kB / 0.8839 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5744, allocations: 4 kB / 0.8839 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5744, allocations: 0 / 0.8839 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.5749, allocations: 231.3 kB / 0.8841 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.5749, allocations: 88.95 kB / 0.8842 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.5749, allocations: 4.422 kB / 0.8842 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.5751, allocations: 15.98 kB / 0.8843 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.5751, allocations: 11.98 kB / 0.8843 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.5751, allocations: 0 / 0.8843 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.5752, allocations: 102.5 kB / 0.8844 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5752, allocations: 3.938 kB / 0.8844 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002122/0.5754, allocations: 8 kB / 0.8844 GB, free: 8.484 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007191/0.5761, allocations: 0.7748 MB / 0.8851 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.5765, allocations: 103.9 kB / 0.8852 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5765, allocations: 0 / 0.8852 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.5767, allocations: 51.97 kB / 0.8853 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5769, allocations: 11.88 kB / 0.8853 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.5774, allocations: 194.2 kB / 0.8855 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.5777, allocations: 0.6965 MB / 0.8862 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.5778, allocations: 7.984 kB / 0.8862 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.5778, allocations: 15.44 kB / 0.8862 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.5778, allocations: 0 / 0.8862 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.5899, allocations: 1.542 MB / 0.8877 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.5901, allocations: 191.4 kB / 0.8879 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.288, allocations: 0 / 0.8879 GB, free: 4.891 MB / 0.5417 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/linux/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)