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.0009344/0.0009348, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001314/0.001315, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.825/1.825, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005705/0.0005706, allocations: 15.61 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2538, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6303/0.8842, allocations: 147.5 MB / 0.9314 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.8882, allocations: 2.705 MB / 0.934 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.8887, allocations: 13.03 kB / 0.934 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.8893, allocations: 135.1 kB / 0.9342 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.8911, allocations: 0.5668 MB / 0.9347 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.8919, allocations: 225.8 kB / 0.9349 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.8932, allocations: 1.037 MB / 0.936 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.8935, allocations: 190.2 kB / 0.9361 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.894, allocations: 280.3 kB / 0.9364 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.8945, allocations: 266.5 kB / 0.9367 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.8945, allocations: 12.84 kB / 0.9367 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009902/0.8955, allocations: 319.3 kB / 0.937 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.8957, allocations: 106.1 kB / 0.9371 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.8958, allocations: 101.2 kB / 0.9372 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.8964, allocations: 0.5082 MB / 0.9377 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8964, allocations: 0 / 0.9377 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8964, allocations: 0 / 0.9377 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8965, allocations: 0 / 0.9377 GB, free: 5.492 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.001294/0.8978, allocations: 0.6421 MB / 0.9383 GB, free: 21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8978, allocations: 10.5 kB / 0.9383 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.8979, allocations: 58.03 kB / 0.9384 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.8988, allocations: 138.6 kB / 0.9385 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.8994, allocations: 388.6 kB / 0.9389 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.8995, allocations: 21.83 kB / 0.9389 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.8995, allocations: 22.09 kB / 0.9389 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.8999, allocations: 276 kB / 0.9392 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.9, allocations: 0 / 0.9392 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.9, allocations: 9.641 kB / 0.9392 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.9, allocations: 20.64 kB / 0.9392 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.9004, allocations: 188.7 kB / 0.9394 GB, free: 20.64 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.001794/0.9022, allocations: 1.32 MB / 0.9407 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.9027, allocations: 190.2 kB / 0.9408 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.9028, allocations: 94.88 kB / 0.9409 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.9029, allocations: 2.5 kB / 0.9409 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.9029, allocations: 36.95 kB / 0.941 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.9029, allocations: 0 / 0.941 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001027/0.9039, allocations: 401.5 kB / 0.9414 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.904, allocations: 58.03 kB / 0.9414 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.9044, allocations: 296.8 kB / 0.9417 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.9044, allocations: 31.92 kB / 0.9417 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.9045, allocations: 188.1 kB / 0.9419 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.9046, allocations: 73.25 kB / 0.942 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.9046, allocations: 4.688 kB / 0.942 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9048, allocations: 338 kB / 0.9423 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.9049, allocations: 65.17 kB / 0.9424 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.9051, allocations: 129 kB / 0.9425 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.9052, allocations: 79.09 kB / 0.9426 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9052, allocations: 0 / 0.9426 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000412/0.9056, allocations: 247.8 kB / 0.9428 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9057, allocations: 8.125 kB / 0.9428 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.9057, allocations: 3.062 kB / 0.9428 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.9057, allocations: 9.641 kB / 0.9428 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.9059, allocations: 41.88 kB / 0.9429 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.9059, allocations: 3.219 kB / 0.9429 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.9062, allocations: 33.83 kB / 0.9429 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.9063, allocations: 7.688 kB / 0.9429 GB, free: 18.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.9065, allocations: 158 kB / 0.9431 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.9066, allocations: 31.16 kB / 0.9431 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.9066, allocations: 37.62 kB / 0.9431 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.9067, allocations: 1.031 kB / 0.9431 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.9067, allocations: 3.156 kB / 0.9431 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.9067, allocations: 3.094 kB / 0.9431 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.9072, allocations: 411.7 kB / 0.9435 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9072, allocations: 3.75 kB / 0.9435 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.9074, allocations: 31.69 kB / 0.9436 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.9077, allocations: 47.44 kB / 0.9436 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.9077, allocations: 5.594 kB / 0.9436 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.9088, allocations: 1.397 MB / 0.945 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9088, allocations: 0 / 0.945 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.9094, allocations: 420.5 kB / 0.9454 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.9095, allocations: 130.2 kB / 0.9455 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.9096, allocations: 9.062 kB / 0.9455 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.9098, allocations: 10.98 kB / 0.9455 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.9099, allocations: 15.62 kB / 0.9455 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.9099, allocations: 4.469 kB / 0.9455 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000274/0.9102, allocations: 211.6 kB / 0.9457 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.473e-06/0.9102, allocations: 4 kB / 0.9457 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005577/0.9107, allocations: 108.3 kB / 0.9458 GB, free: 16.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.9118, allocations: 0.9626 MB / 0.9468 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.9122, allocations: 160.6 kB / 0.9469 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.9122, allocations: 0.5 kB / 0.9469 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.9126, allocations: 202.9 kB / 0.9471 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.9136, allocations: 196.3 kB / 0.9473 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.9167, allocations: 1.99 MB / 0.9493 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.9171, allocations: 0.7892 MB / 0.95 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.9174, allocations: 59.38 kB / 0.9501 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.9175, allocations: 104.7 kB / 0.9502 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/0.9176, allocations: 0 / 0.9502 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.9422, allocations: 8.81 MB / 0.9588 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.9425, allocations: 204.5 kB / 0.959 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.96, allocations: 0 / 0.959 GB, free: 13.48 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/linux/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) Environment - environmentSimulation: