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 1.867/1.867, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.01708/0.01708, allocations: 188.2 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.073/2.073, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009841/0.0009842, allocations: 103.8 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 277.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.189e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098/3.098, allocations: 82.77 MB / 0.7575 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/3.28, allocations: 107.9 MB / 0.8629 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/3.281, allocations: 71.95 kB / 0.8629 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003992/3.285, allocations: 1.081 MB / 0.864 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/3.285, allocations: 0 / 0.864 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.02e-05/3.285, allocations: 0 / 0.864 GB, free: 2.785 MB / 0.5261 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.0005001/3.286, allocations: 378.3 kB / 0.8644 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/3.286, allocations: 8.031 kB / 0.8644 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/3.286, allocations: 4 kB / 0.8644 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/3.286, allocations: 178.9 kB / 0.8645 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/3.286, allocations: 7.891 kB / 0.8645 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/3.286, allocations: 4 kB / 0.8645 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001241/3.286, allocations: 31.98 kB / 0.8646 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/3.286, allocations: 45.69 kB / 0.8646 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/3.286, allocations: 0 / 0.8646 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/3.286, allocations: 3.984 kB / 0.8646 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/3.286, allocations: 4 kB / 0.8646 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/3.287, allocations: 309.4 kB / 0.8649 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/3.287, allocations: 50.5 kB / 0.865 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/3.287, allocations: 16.86 kB / 0.865 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/3.287, allocations: 109.2 kB / 0.8651 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/3.287, allocations: 30.56 kB / 0.8651 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/3.287, allocations: 0 / 0.8651 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002896/3.288, allocations: 73.58 kB / 0.8652 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/3.288, allocations: 55.41 kB / 0.8652 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/3.288, allocations: 114.2 kB / 0.8654 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/3.288, allocations: 25.7 kB / 0.8654 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/3.288, allocations: 96.12 kB / 0.8655 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/3.288, allocations: 7.812 kB / 0.8655 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/3.288, allocations: 0 / 0.8655 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001423/3.288, allocations: 318.8 kB / 0.8658 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/3.288, allocations: 15.98 kB / 0.8658 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/3.288, allocations: 15.94 kB / 0.8658 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/3.288, allocations: 27.97 kB / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/3.288, allocations: 0 / 0.8658 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001349/3.288, allocations: 73.62 kB / 0.8659 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/3.288, allocations: 8 kB / 0.8659 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/3.288, allocations: 3.938 kB / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/3.288, allocations: 0 / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/3.288, allocations: 23.97 kB / 0.8659 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/3.288, allocations: 4 kB / 0.8659 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/3.289, allocations: 15.98 kB / 0.866 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/3.289, allocations: 0 / 0.866 GB, free: 0.5508 MB / 0.5261 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.792e-05/3.289, allocations: 105 kB / 0.8661 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001527/3.289, allocations: 85.45 kB / 0.8661 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/3.289, allocations: 7.906 kB / 0.8661 GB, free: 352 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/3.289, allocations: 83.33 kB / 0.8662 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/3.289, allocations: 4 kB / 0.8662 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/3.289, allocations: 0 / 0.8662 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/3.289, allocations: 4 kB / 0.8662 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/3.289, allocations: 162.1 kB / 0.8664 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/3.289, allocations: 0 / 0.8664 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/3.289, allocations: 23.97 kB / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/3.289, allocations: 0 / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/3.289, allocations: 288 / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/3.289, allocations: 4 kB / 0.8664 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/3.289, allocations: 3.938 kB / 0.8664 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/3.29, allocations: 171.4 kB / 0.8666 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/3.29, allocations: 92.98 kB / 0.8667 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/3.29, allocations: 7.938 kB / 0.8667 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/3.29, allocations: 19.98 kB / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/3.29, allocations: 3.984 kB / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/3.29, allocations: 4 kB / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.465e-05/3.29, allocations: 87.28 kB / 0.8668 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/3.29, allocations: 0 / 0.8668 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002225/3.29, allocations: 12 kB / 0.8668 GB, free: 15.59 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.0005465/3.291, allocations: 0.7184 MB / 0.8675 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001142/3.291, allocations: 31.98 kB / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/3.291, allocations: 0 / 0.8675 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/3.291, allocations: 16 kB / 0.8676 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/3.291, allocations: 4 kB / 0.8676 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/3.292, allocations: 137.3 kB / 0.8677 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/3.292, allocations: 0.6924 MB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.752e-05/3.292, allocations: 7.984 kB / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/3.292, allocations: 19.38 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/3.292, allocations: 0 / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/3.336, allocations: 1.224 MB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004557/3.337, allocations: 142.1 kB / 0.8697 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/17.52, allocations: 0.7031 kB / 0.8697 GB, free: 12.49 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)