Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json 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/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007015/0.007015, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.9504 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.7099, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1775/0.8874, allocations: 162.4 MB / 1.246 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.892, allocations: 2.926 MB / 1.249 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.8926, allocations: 19 kB / 1.249 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.8932, allocations: 202.3 kB / 1.249 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.8952, allocations: 0.7804 MB / 1.25 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.8961, allocations: 341.9 kB / 1.25 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.8973, allocations: 0.9351 MB / 1.251 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.8977, allocations: 262.3 kB / 1.251 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.8982, allocations: 334.5 kB / 1.252 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.899, allocations: 293.2 kB / 1.252 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.8991, allocations: 35.94 kB / 1.252 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.9003, allocations: 0.643 MB / 1.253 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.9005, allocations: 135.5 kB / 1.253 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.9007, allocations: 211 kB / 1.253 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.9018, allocations: 0.744 MB / 1.254 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9018, allocations: 11.94 kB / 1.254 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9019, allocations: 0 / 1.254 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9019, allocations: 0 / 1.254 GB, free: 3.559 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001121/0.903, allocations: 0.6972 MB / 1.254 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.903, allocations: 8.031 kB / 1.254 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.13e-05/0.9031, allocations: 74.47 kB / 1.254 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.9042, allocations: 139.3 kB / 1.255 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.9049, allocations: 414.4 kB / 1.255 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.9049, allocations: 16.56 kB / 1.255 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.9049, allocations: 24 kB / 1.255 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.9054, allocations: 283.6 kB / 1.255 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.9054, allocations: 0 / 1.255 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.9054, allocations: 15.98 kB / 1.255 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.9055, allocations: 8.562 kB / 1.255 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.9058, allocations: 202.1 kB / 1.255 GB, free: 1.586 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.9075, allocations: 1.319 MB / 1.257 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.9079, allocations: 197.7 kB / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.9081, allocations: 92.83 kB / 1.257 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.9081, allocations: 0 / 1.257 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.9082, allocations: 34.56 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.9082, allocations: 0 / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.000951/0.9091, allocations: 397.5 kB / 1.257 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.9092, allocations: 59.41 kB / 1.258 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.9095, allocations: 304.5 kB / 1.258 GB, free: 15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.9095, allocations: 29.7 kB / 1.258 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.9096, allocations: 188.1 kB / 1.258 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.9097, allocations: 70.95 kB / 1.258 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.9098, allocations: 49.61 kB / 1.258 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9099, allocations: 342.8 kB / 1.258 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.91, allocations: 67.86 kB / 1.259 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.9101, allocations: 114 kB / 1.259 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.9104, allocations: 196.3 kB / 1.259 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9104, allocations: 4 kB / 1.259 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003633/0.9108, allocations: 253.1 kB / 1.259 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.9108, allocations: 7.938 kB / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9108, allocations: 0 / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9108, allocations: 4 kB / 1.259 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.911, allocations: 43.92 kB / 1.259 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.9111, allocations: 11.92 kB / 1.259 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.9114, allocations: 19.75 kB / 1.259 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.9114, allocations: 8 kB / 1.259 GB, free: 13.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.9115, allocations: 166 kB / 1.259 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.9116, allocations: 31.66 kB / 1.259 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.847e-05/0.9117, allocations: 35.08 kB / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9117, allocations: 0 / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9117, allocations: 0 / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9117, allocations: 0 / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.9122, allocations: 413.1 kB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.9123, allocations: 7.938 kB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.9124, allocations: 27.98 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.9127, allocations: 48.83 kB / 1.26 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.9127, allocations: 4 kB / 1.26 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.9139, allocations: 1.516 MB / 1.261 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9139, allocations: 0 / 1.261 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.9145, allocations: 398.9 kB / 1.262 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9146, allocations: 136.6 kB / 1.262 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.9147, allocations: 8.062 kB / 1.262 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.9149, allocations: 4 kB / 1.262 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.915, allocations: 11.98 kB / 1.262 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.915, allocations: 8 kB / 1.262 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000215/0.9152, allocations: 219 kB / 1.262 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9152, allocations: 0 / 1.262 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004215/0.9157, allocations: 103.8 kB / 1.262 GB, free: 10.21 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008795/0.9165, allocations: 0.948 MB / 1.263 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.9169, allocations: 169.8 kB / 1.263 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9169, allocations: 0 / 1.263 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.9172, allocations: 198.6 kB / 1.263 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.9182, allocations: 209.8 kB / 1.264 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.9215, allocations: 2.912 MB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.9219, allocations: 0.796 MB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.9221, allocations: 59.19 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.9223, allocations: 107.4 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.9223, allocations: 0 / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.9525, allocations: 8.985 MB / 1.276 GB, free: 11.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.405/10.36, allocations: 10.53 kB / 1.276 GB, free: 11.88 MB / 1.014 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)