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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001501/0.001501, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.23/1.23, allocations: 205.1 MB / 222 MB, free: 4.988 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.581/1.581, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.00139/0.00139, allocations: 78 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1982, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.4975/0.6957, allocations: 160.1 MB / 0.9392 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.6991, allocations: 2.94 MB / 0.942 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.6994, allocations: 10.75 kB / 0.942 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.7, allocations: 180.3 kB / 0.9422 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.7014, allocations: 0.7211 MB / 0.9429 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.702, allocations: 305.7 kB / 0.9432 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.703, allocations: 1.214 MB / 0.9444 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.7033, allocations: 225.9 kB / 0.9446 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.7037, allocations: 289.1 kB / 0.9449 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.7044, allocations: 295 kB / 0.9452 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.7045, allocations: 14.38 kB / 0.9452 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.7055, allocations: 0.7458 MB / 0.9459 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.7057, allocations: 111.1 kB / 0.946 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.7059, allocations: 191.1 kB / 0.9462 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008981/0.7068, allocations: 0.7654 MB / 0.9469 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7068, allocations: 1 kB / 0.9469 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7068, allocations: 4 kB / 0.947 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7068, allocations: 1.203 kB / 0.947 GB, free: 5.723 MB / 0.7325 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.001136/0.708, allocations: 0.7095 MB / 0.9476 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.708, allocations: 13.59 kB / 0.9477 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.7081, allocations: 61.17 kB / 0.9477 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.709, allocations: 141.4 kB / 0.9479 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.7095, allocations: 394.3 kB / 0.9482 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.7096, allocations: 19.2 kB / 0.9482 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.7096, allocations: 26.97 kB / 0.9483 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.71, allocations: 281.6 kB / 0.9485 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7101, allocations: 3.906 kB / 0.9485 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.7101, allocations: 11.06 kB / 0.9486 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.7101, allocations: 10.7 kB / 0.9486 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.7104, allocations: 190.9 kB / 0.9487 GB, free: 20.85 MB / 0.7481 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.001622/0.7121, allocations: 1.316 MB / 0.95 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.7125, allocations: 194.2 kB / 0.9502 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.7127, allocations: 94.88 kB / 0.9503 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.7127, allocations: 2.531 kB / 0.9503 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.7127, allocations: 36.45 kB / 0.9503 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.7127, allocations: 0 / 0.9503 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.000965/0.7137, allocations: 402.6 kB / 0.9507 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.7137, allocations: 55.19 kB / 0.9508 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.7141, allocations: 299.2 kB / 0.9511 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.7141, allocations: 30.58 kB / 0.9511 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.7142, allocations: 190.2 kB / 0.9513 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.7143, allocations: 71.47 kB / 0.9513 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.7144, allocations: 44.84 kB / 0.9514 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7145, allocations: 340.4 kB / 0.9517 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.7146, allocations: 63.22 kB / 0.9518 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.7147, allocations: 124 kB / 0.9519 GB, free: 19.01 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.715, allocations: 198.2 kB / 0.9521 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.715, allocations: 1.203 kB / 0.9521 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003425/0.7153, allocations: 255 kB / 0.9523 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7154, allocations: 5.719 kB / 0.9523 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7154, allocations: 1.25 kB / 0.9523 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7154, allocations: 2.75 kB / 0.9523 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.7156, allocations: 45.42 kB / 0.9524 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7156, allocations: 3.156 kB / 0.9524 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.7159, allocations: 21.33 kB / 0.9524 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.7159, allocations: 10.53 kB / 0.9524 GB, free: 18.88 MB / 0.7481 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.0001437/0.7161, allocations: 166.1 kB / 0.9526 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.7161, allocations: 34.75 kB / 0.9526 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.7162, allocations: 37.97 kB / 0.9526 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7162, allocations: 5.062 kB / 0.9526 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7162, allocations: 1.312 kB / 0.9526 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7162, allocations: 3 kB / 0.9526 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.7167, allocations: 403.2 kB / 0.953 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7167, allocations: 0 / 0.953 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.7169, allocations: 37.36 kB / 0.9531 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.7171, allocations: 50.39 kB / 0.9531 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.7171, allocations: 5.031 kB / 0.9531 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.7182, allocations: 1.405 MB / 0.9545 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7182, allocations: 0 / 0.9545 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.7187, allocations: 416 kB / 0.9549 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7189, allocations: 132.5 kB / 0.955 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.7189, allocations: 8 kB / 0.955 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.7192, allocations: 12.94 kB / 0.955 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.7192, allocations: 15.64 kB / 0.9551 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.7192, allocations: 9.172 kB / 0.9551 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002136/0.7195, allocations: 215.1 kB / 0.9553 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7195, allocations: 0 / 0.9553 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004098/0.7199, allocations: 100.3 kB / 0.9554 GB, free: 16.9 MB / 0.7481 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.0008507/0.7207, allocations: 0.9671 MB / 0.9563 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.7211, allocations: 163.3 kB / 0.9565 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7211, allocations: 0.5938 kB / 0.9565 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.7214, allocations: 208 kB / 0.9567 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/0.7224, allocations: 194.1 kB / 0.9568 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.7258, allocations: 3.008 MB / 0.9598 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.7261, allocations: 0.7948 MB / 0.9606 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000267/0.7264, allocations: 63.2 kB / 0.9606 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.7265, allocations: 104 kB / 0.9607 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.7265, allocations: 4 kB / 0.9607 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.7458, allocations: 8.513 MB / 0.969 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.746, allocations: 220.3 kB / 0.9692 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.523, allocations: 7.938 kB / 0.9693 GB, free: 12.66 MB / 0.7481 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)