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.892/0.892, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 187.6 kB / 187.3 MB, free: 11.9 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.657/1.657, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.001023/0.001023, allocations: 97.97 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00199/0.00199, allocations: 267.1 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.332e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5622/0.5623, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.7023, allocations: 108.6 MB / 0.8704 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.7027, allocations: 74.97 kB / 0.8705 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003326/0.7061, allocations: 1.087 MB / 0.8715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7061, allocations: 0 / 0.8715 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.7061, allocations: 0 / 0.8715 GB, free: 14.8 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.0004951/0.7066, allocations: 379.6 kB / 0.8719 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.7067, allocations: 8.031 kB / 0.8719 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.7067, allocations: 34.56 kB / 0.8719 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.7067, allocations: 11.84 kB / 0.872 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.7069, allocations: 174.9 kB / 0.8721 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.7069, allocations: 11.95 kB / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.707, allocations: 0 / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.7071, allocations: 53.67 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7071, allocations: 0 / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.7072, allocations: 4 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.7072, allocations: 4 kB / 0.8722 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.7073, allocations: 31.98 kB / 0.8722 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.7079, allocations: 324.8 kB / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.708, allocations: 46.55 kB / 0.8726 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.708, allocations: 24.86 kB / 0.8726 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004343/0.7085, allocations: 105.2 kB / 0.8727 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7085, allocations: 30.56 kB / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.7085, allocations: 0 / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002197/0.7087, allocations: 77.53 kB / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.7088, allocations: 55.39 kB / 0.8729 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.7089, allocations: 111.7 kB / 0.873 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.709, allocations: 29.7 kB / 0.873 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.709, allocations: 88.14 kB / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.7091, allocations: 15.8 kB / 0.8731 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.7091, allocations: 0 / 0.8731 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7092, allocations: 322.8 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.463e-05/0.7093, allocations: 20 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.7093, allocations: 15.98 kB / 0.8734 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.7093, allocations: 15.94 kB / 0.8735 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7094, allocations: 0 / 0.8735 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001146/0.7095, allocations: 65.67 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.7095, allocations: 9.094 kB / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7095, allocations: 0 / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7095, allocations: 0 / 0.8735 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.7097, allocations: 31.91 kB / 0.8736 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.7097, allocations: 0 / 0.8736 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.7098, allocations: 19.98 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.7098, allocations: 0 / 0.8736 GB, free: 12.48 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 () * 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 7.486e-05/0.7099, allocations: 108.9 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.7099, allocations: 4.094 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.7101, allocations: 93.67 kB / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7101, allocations: 0 / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7102, allocations: 0 / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7102, allocations: 0 / 0.8738 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.7104, allocations: 177.6 kB / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7104, allocations: 3.938 kB / 0.8739 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.7105, allocations: 27.91 kB / 0.874 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.7105, allocations: 4 kB / 0.874 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7105, allocations: 4 kB / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7105, allocations: 0 / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7105, allocations: 0 / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.7107, allocations: 163.4 kB / 0.8741 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.7107, allocations: 92.91 kB / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.7108, allocations: 0 / 0.8742 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7109, allocations: 27.98 kB / 0.8742 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.7109, allocations: 3.984 kB / 0.8743 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.711, allocations: 4 kB / 0.8743 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.567e-05/0.711, allocations: 95.27 kB / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.711, allocations: 0 / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000201/0.7112, allocations: 16 kB / 0.8744 GB, free: 11.57 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 () * 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.0004579/0.7117, allocations: 0.6968 MB / 0.875 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.7118, allocations: 31.98 kB / 0.8751 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7118, allocations: 0 / 0.8751 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.7119, allocations: 19.94 kB / 0.8751 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.7121, allocations: 11.94 kB / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.7125, allocations: 144.4 kB / 0.8752 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.7128, allocations: 0.6965 MB / 0.8759 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.7128, allocations: 0 / 0.8759 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.7129, allocations: 19.44 kB / 0.8759 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/0.7129, allocations: 0 / 0.8759 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.7269, allocations: 1.547 MB / 0.8775 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.7272, allocations: 166.6 kB / 0.8776 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.38, allocations: 0 / 0.8776 GB, free: 8.242 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)