Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_8_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_8_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.0009203/0.0009203, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 196.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.77 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1803, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5046/0.6849, allocations: 162.4 MB / 0.942 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003986/0.689, allocations: 2.889 MB / 0.9449 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006051/0.6896, allocations: 14.56 kB / 0.9449 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007118/0.6903, allocations: 204.3 kB / 0.9451 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.6923, allocations: 0.7696 MB / 0.9458 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.6932, allocations: 345 kB / 0.9462 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.6946, allocations: 0.9231 MB / 0.9471 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.6951, allocations: 252.3 kB / 0.9473 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/0.6958, allocations: 332.7 kB / 0.9476 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.6969, allocations: 290.8 kB / 0.9479 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.6971, allocations: 33.31 kB / 0.9479 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.6986, allocations: 0.6434 MB / 0.9486 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.6988, allocations: 133.7 kB / 0.9487 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.6993, allocations: 211.8 kB / 0.9489 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.7009, allocations: 0.7365 MB / 0.9496 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7009, allocations: 0.5 kB / 0.9496 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7009, allocations: 0.5625 kB / 0.9496 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.701, allocations: 0 / 0.9496 GB, free: 1.258 MB / 0.7169 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.001609/0.7026, allocations: 0.7155 MB / 0.9503 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.7026, allocations: 9.406 kB / 0.9503 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.786e-05/0.7027, allocations: 60.8 kB / 0.9504 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.7038, allocations: 139.1 kB / 0.9505 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.7044, allocations: 396.8 kB / 0.9509 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.7045, allocations: 17.88 kB / 0.9509 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.7045, allocations: 27.47 kB / 0.9509 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.705, allocations: 278.3 kB / 0.9512 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.705, allocations: 1.125 kB / 0.9512 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.705, allocations: 14.52 kB / 0.9512 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.705, allocations: 9.25 kB / 0.9512 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.7054, allocations: 193.5 kB / 0.9514 GB, free: 16.37 MB / 0.7325 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.001629/0.707, allocations: 1.322 MB / 0.9527 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.7074, allocations: 188.4 kB / 0.9529 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.7075, allocations: 93.61 kB / 0.953 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.7075, allocations: 6.75 kB / 0.953 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.7076, allocations: 36.56 kB / 0.953 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.7076, allocations: 0 / 0.953 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0009109/0.7085, allocations: 412.2 kB / 0.9534 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.7085, allocations: 53.72 kB / 0.9534 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.7088, allocations: 298.8 kB / 0.9537 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.7089, allocations: 30.33 kB / 0.9538 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.709, allocations: 190.9 kB / 0.9539 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.709, allocations: 70.78 kB / 0.954 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.7091, allocations: 45.73 kB / 0.954 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7092, allocations: 341.2 kB / 0.9544 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.7093, allocations: 64.75 kB / 0.9544 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.7095, allocations: 122.5 kB / 0.9546 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.7097, allocations: 201.8 kB / 0.9547 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7097, allocations: 0 / 0.9547 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003484/0.7101, allocations: 250.7 kB / 0.955 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7101, allocations: 9.469 kB / 0.955 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7101, allocations: 2.875 kB / 0.955 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7101, allocations: 4.078 kB / 0.955 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.7103, allocations: 43.27 kB / 0.955 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7103, allocations: 2.562 kB / 0.955 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.7106, allocations: 16.28 kB / 0.9551 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.7107, allocations: 9.812 kB / 0.9551 GB, free: 14.36 MB / 0.7325 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.0001443/0.7108, allocations: 159.2 kB / 0.9552 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.7109, allocations: 34.31 kB / 0.9553 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.7109, allocations: 40.77 kB / 0.9553 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.711, allocations: 1.531 kB / 0.9553 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.711, allocations: 1.531 kB / 0.9553 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.711, allocations: 2.531 kB / 0.9553 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.7114, allocations: 405 kB / 0.9557 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7114, allocations: 1.344 kB / 0.9557 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.7116, allocations: 38.81 kB / 0.9557 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.7119, allocations: 46.89 kB / 0.9558 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.7119, allocations: 7.594 kB / 0.9558 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.713, allocations: 1.509 MB / 0.9572 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.713, allocations: 0 / 0.9572 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.7136, allocations: 420.2 kB / 0.9576 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7137, allocations: 128.8 kB / 0.9578 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.7138, allocations: 13.38 kB / 0.9578 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.714, allocations: 8.094 kB / 0.9578 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.7141, allocations: 15.58 kB / 0.9578 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.7141, allocations: 9.297 kB / 0.9578 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001987/0.7143, allocations: 211.4 kB / 0.958 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7143, allocations: 0 / 0.958 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004296/0.7147, allocations: 103.9 kB / 0.9581 GB, free: 12.27 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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.0008726/0.7156, allocations: 0.9666 MB / 0.9591 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.7159, allocations: 183.6 kB / 0.9592 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.716, allocations: 0 / 0.9592 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.7162, allocations: 199.3 kB / 0.9594 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.7172, allocations: 201.4 kB / 0.9596 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.7204, allocations: 2.916 MB / 0.9625 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.7208, allocations: 0.7897 MB / 0.9632 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.7211, allocations: 61.69 kB / 0.9633 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.7212, allocations: 104.5 kB / 0.9634 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7212, allocations: 0 / 0.9634 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.894/3.615, allocations: 8.914 MB / 0.9721 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.954/13.57, allocations: 6.469 kB / 0.9721 GB, free: 6.824 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)