Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7121/0.7121, allocations: 127.4 MB / 134.9 MB, free: 3.715 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 175.1 kB / 164.6 MB, free: 6.539 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.2 MB / 399.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008713, allocations: 91.66 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.275e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6246/0.8037, allocations: 102.2 MB / 0.7214 GB, free: 13.22 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.804, allocations: 73.83 kB / 0.7215 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003161/0.8071, allocations: 1.079 MB / 0.7225 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.8072, allocations: 0 / 0.7225 GB, free: 12.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.8072, allocations: 0 / 0.7225 GB, free: 12.2 MB / 490.7 MB 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.0004609/0.8076, allocations: 382.7 kB / 0.7229 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.8077, allocations: 8.031 kB / 0.7229 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.8077, allocations: 11.86 kB / 0.7229 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.8079, allocations: 170.9 kB / 0.7231 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.8079, allocations: 4 kB / 0.7231 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.8079, allocations: 4 kB / 0.7231 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.808, allocations: 32.86 kB / 0.7231 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.815e-05/0.8081, allocations: 49.12 kB / 0.7231 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8082, allocations: 0 / 0.7231 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.8082, allocations: 3.984 kB / 0.7231 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.8082, allocations: 0 / 0.7231 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.8087, allocations: 305.3 kB / 0.7234 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.183e-05/0.8088, allocations: 44.69 kB / 0.7235 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.8089, allocations: 22.5 kB / 0.7235 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.8091, allocations: 108.5 kB / 0.7236 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.8091, allocations: 30.56 kB / 0.7236 GB, free: 10.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.846e-06/0.8091, allocations: 0 / 0.7236 GB, free: 10.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002583/0.8094, allocations: 84.19 kB / 0.7237 GB, free: 10.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.8094, allocations: 55.36 kB / 0.7238 GB, free: 10.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.8095, allocations: 117 kB / 0.7239 GB, free: 10.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.8095, allocations: 25.7 kB / 0.7239 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.8096, allocations: 90.83 kB / 0.724 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.8096, allocations: 8.656 kB / 0.724 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.8096, allocations: 0 / 0.724 GB, free: 10.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8098, allocations: 322.3 kB / 0.7243 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.8098, allocations: 11.5 kB / 0.7243 GB, free: 10.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.8099, allocations: 17.61 kB / 0.7243 GB, free: 10.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.8099, allocations: 22.61 kB / 0.7244 GB, free: 10.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8099, allocations: 0 / 0.7244 GB, free: 10.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001389/0.8101, allocations: 79.31 kB / 0.7244 GB, free: 10.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8101, allocations: 11.94 kB / 0.7244 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8101, allocations: 0 / 0.7244 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8101, allocations: 4 kB / 0.7244 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.8103, allocations: 20.64 kB / 0.7245 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8103, allocations: 0 / 0.7245 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.8104, allocations: 19.94 kB / 0.7245 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.8104, allocations: 3.984 kB / 0.7245 GB, free: 10.07 MB / 490.7 MB 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.946e-05/0.8105, allocations: 113 kB / 0.7246 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001498/0.8107, allocations: 71.27 kB / 0.7247 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.8107, allocations: 14.66 kB / 0.7247 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.8109, allocations: 90.36 kB / 0.7248 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8109, allocations: 0 / 0.7248 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8109, allocations: 3.953 kB / 0.7248 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8109, allocations: 4 kB / 0.7248 GB, free: 9.781 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.8111, allocations: 153 kB / 0.7249 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8111, allocations: 4 kB / 0.7249 GB, free: 9.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.8112, allocations: 27.48 kB / 0.725 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8112, allocations: 0 / 0.725 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8112, allocations: 0 / 0.725 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8112, allocations: 0 / 0.725 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8113, allocations: 0 / 0.725 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.8115, allocations: 169.9 kB / 0.7251 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.8115, allocations: 92.98 kB / 0.7252 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.8115, allocations: 7.938 kB / 0.7252 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8117, allocations: 15.98 kB / 0.7252 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.8117, allocations: 7.422 kB / 0.7252 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.8117, allocations: 4 kB / 0.7252 GB, free: 9.262 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.8118, allocations: 90.77 kB / 0.7253 GB, free: 9.176 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8118, allocations: 0 / 0.7253 GB, free: 9.176 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.812, allocations: 16 kB / 0.7253 GB, free: 9.16 MB / 490.7 MB 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.000471/0.8125, allocations: 0.7124 MB / 0.726 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.896e-05/0.8126, allocations: 33.31 kB / 0.7261 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8126, allocations: 0 / 0.7261 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.8126, allocations: 22.48 kB / 0.7261 GB, free: 8.398 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.8128, allocations: 8 kB / 0.7261 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.8132, allocations: 127.4 kB / 0.7262 GB, free: 8.238 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.8136, allocations: 0.6913 MB / 0.7269 GB, free: 7.523 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.8136, allocations: 7.875 kB / 0.7269 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.8136, allocations: 17.56 kB / 0.7269 GB, free: 7.504 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.8136, allocations: 0 / 0.7269 GB, free: 7.504 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.8352, allocations: 1.223 MB / 0.7281 GB, free: 6.297 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.8355, allocations: 147.5 kB / 0.7282 GB, free: 6.105 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.319, allocations: 0 / 0.7282 GB, free: 6.105 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)