Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 180.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009704/0.00097, allocations: 97.41 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.835e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7872, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.9873, allocations: 138.2 MB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.9876, allocations: 76.75 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003425/0.9911, allocations: 1.074 MB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9911, allocations: 0 / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.9912, allocations: 0 / 1.109 GB, free: 10.77 MB / 0.7136 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.0004571/0.9916, allocations: 385 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.9917, allocations: 12.03 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.9917, allocations: 4 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.9919, allocations: 179.2 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.9919, allocations: 0 / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.9919, allocations: 2.938 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/0.992, allocations: 35.98 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.9922, allocations: 49.62 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9922, allocations: 0 / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.9922, allocations: 0 / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9922, allocations: 0 / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.9927, allocations: 305 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.9929, allocations: 42.56 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.9929, allocations: 25.39 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.9931, allocations: 107.5 kB / 1.111 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.9931, allocations: 30.56 kB / 1.111 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9931, allocations: 0 / 1.111 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002632/0.9934, allocations: 75.06 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.9935, allocations: 55.34 kB / 1.111 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.9936, allocations: 113 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.9936, allocations: 26.77 kB / 1.111 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.9936, allocations: 92.14 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.9937, allocations: 11.81 kB / 1.111 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.9937, allocations: 4 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9938, allocations: 322.8 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.9938, allocations: 12 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.9939, allocations: 15.98 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.994, allocations: 23.98 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.994, allocations: 0 / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001393/0.9941, allocations: 73.8 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.9941, allocations: 4 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9941, allocations: 48 / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.9942, allocations: 11.83 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.9943, allocations: 19.98 kB / 1.111 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9943, allocations: 4 kB / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.9944, allocations: 15.89 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.9944, allocations: 7.938 kB / 1.111 GB, free: 8.555 MB / 0.7136 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.19e-05/0.9945, allocations: 114.5 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001493/0.9947, allocations: 76.62 kB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.9947, allocations: 7.906 kB / 1.112 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.9949, allocations: 82 kB / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9949, allocations: 0 / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9949, allocations: 0 / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.9949, allocations: 3.984 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.9951, allocations: 166.1 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9951, allocations: 0 / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.9952, allocations: 27.98 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9952, allocations: 0 / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9952, allocations: 0 / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.9953, allocations: 4 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9953, allocations: 0 / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.9954, allocations: 175.4 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.9955, allocations: 85.05 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.9955, allocations: 0 / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9956, allocations: 15.98 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.9957, allocations: 7.984 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.9957, allocations: 3.25 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.9957, allocations: 101.8 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9958, allocations: 0 / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002107/0.996, allocations: 11.91 kB / 1.112 GB, free: 7.598 MB / 0.7136 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.0004527/0.9964, allocations: 0.7111 MB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.9965, allocations: 32 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9965, allocations: 0 / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.9966, allocations: 19.94 kB / 1.113 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.9968, allocations: 13.23 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.9972, allocations: 132 kB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.9974, allocations: 0.697 MB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.9975, allocations: 2.109 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.9975, allocations: 17.22 kB / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.9975, allocations: 0 / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/1.018, allocations: 1.205 MB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/1.018, allocations: 135.1 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.519, allocations: 0 / 1.115 GB, free: 4.543 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)