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.8351/0.8351, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 192.7 kB / 169.7 MB, free: 1.734 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.957/1.957, allocations: 205.1 MB / 404.5 MB, free: 1.609 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.0009195/0.0009196, allocations: 87.67 kB / 481.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.689e-05, allocations: 4 kB / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1886, allocations: 76.77 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6097/0.7984, allocations: 102.5 MB / 0.7284 GB, free: 10.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.7987, allocations: 73.14 kB / 0.7284 GB, free: 10.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003176/0.8019, allocations: 1.081 MB / 0.7295 GB, free: 9.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.8019, allocations: 0 / 0.7295 GB, free: 9.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.8019, allocations: 4 kB / 0.7295 GB, free: 9.855 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.0004685/0.8024, allocations: 370.6 kB / 0.7298 GB, free: 9.453 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.8025, allocations: 16.03 kB / 0.7299 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.8025, allocations: 34.38 kB / 0.7299 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.8025, allocations: 11.86 kB / 0.7299 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.8027, allocations: 170.9 kB / 0.7301 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.8027, allocations: 0 / 0.7301 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.8027, allocations: 0 / 0.7301 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.8029, allocations: 64.3 kB / 0.7301 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8029, allocations: 0 / 0.7301 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8029, allocations: 0 / 0.7301 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8029, allocations: 0 / 0.7301 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.803, allocations: 42.25 kB / 0.7302 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.8036, allocations: 320.8 kB / 0.7305 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.8037, allocations: 53.41 kB / 0.7305 GB, free: 8.695 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.8038, allocations: 19.92 kB / 0.7305 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.804, allocations: 108.5 kB / 0.7307 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.804, allocations: 30.56 kB / 0.7307 GB, free: 8.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.804, allocations: 0 / 0.7307 GB, free: 8.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.000195/0.8042, allocations: 79.53 kB / 0.7308 GB, free: 8.441 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.8043, allocations: 57.59 kB / 0.7308 GB, free: 8.375 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.8044, allocations: 112.9 kB / 0.7309 GB, free: 8.266 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.8044, allocations: 29.7 kB / 0.7309 GB, free: 8.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.8045, allocations: 87.14 kB / 0.731 GB, free: 8.148 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.8045, allocations: 7.906 kB / 0.731 GB, free: 8.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.8045, allocations: 0 / 0.731 GB, free: 8.141 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8046, allocations: 321.2 kB / 0.7313 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.8047, allocations: 14.88 kB / 0.7314 GB, free: 7.816 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.8047, allocations: 23.36 kB / 0.7314 GB, free: 7.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.8048, allocations: 19.42 kB / 0.7314 GB, free: 7.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8048, allocations: 0 / 0.7314 GB, free: 7.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001087/0.8049, allocations: 67.53 kB / 0.7315 GB, free: 7.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8049, allocations: 5.094 kB / 0.7315 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8049, allocations: 0.6875 kB / 0.7315 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8049, allocations: 0 / 0.7315 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.8051, allocations: 27.92 kB / 0.7315 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8051, allocations: 0 / 0.7315 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.8052, allocations: 23.48 kB / 0.7315 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.8052, allocations: 4 kB / 0.7315 GB, free: 7.664 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.418e-05/0.8053, allocations: 101 kB / 0.7316 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.8053, allocations: 15.84 kB / 0.7316 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.8055, allocations: 83.56 kB / 0.7317 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8055, allocations: 0 / 0.7317 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.8055, allocations: 7.953 kB / 0.7317 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8055, allocations: 0 / 0.7317 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.8057, allocations: 179.5 kB / 0.7319 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8057, allocations: 0 / 0.7319 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.8058, allocations: 23.97 kB / 0.7319 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8059, allocations: 0 / 0.7319 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.8059, allocations: 0 / 0.7319 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.8059, allocations: 0 / 0.7319 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8059, allocations: 4 kB / 0.7319 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.8061, allocations: 172.4 kB / 0.7321 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.8061, allocations: 89.08 kB / 0.7322 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.8061, allocations: 0 / 0.7322 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.8063, allocations: 19.8 kB / 0.7322 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.8063, allocations: 7.984 kB / 0.7322 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.8063, allocations: 4 kB / 0.7322 GB, free: 6.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.101e-05/0.8064, allocations: 98.89 kB / 0.7323 GB, free: 6.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8064, allocations: 0 / 0.7323 GB, free: 6.824 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.8066, allocations: 26.92 kB / 0.7323 GB, free: 6.801 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.0004603/0.8071, allocations: 0.696 MB / 0.733 GB, free: 6.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8072, allocations: 38.61 kB / 0.733 GB, free: 6.059 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8072, allocations: 0 / 0.733 GB, free: 6.059 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.8072, allocations: 19.38 kB / 0.7331 GB, free: 6.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.8074, allocations: 7.859 kB / 0.7331 GB, free: 6.039 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.8078, allocations: 130.4 kB / 0.7332 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.808, allocations: 0.6926 MB / 0.7339 GB, free: 5.164 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.254e-05/0.8081, allocations: 7.938 kB / 0.7339 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.8081, allocations: 17.94 kB / 0.7339 GB, free: 5.145 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.8081, allocations: 0 / 0.7339 GB, free: 5.145 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.8217, allocations: 1.561 MB / 0.7354 GB, free: 3.695 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.822, allocations: 152.9 kB / 0.7356 GB, free: 3.477 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.5, allocations: 0 / 0.7356 GB, free: 3.477 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)