Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_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.006947/0.006947, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001819/0.001819, allocations: 188.6 kB / 16.67 MB, free: 5.926 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437.1 MB / 0.7106 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.89 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6125, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1608/0.7733, allocations: 162.4 MB / 1.325 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.7774, allocations: 2.915 MB / 1.328 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.7779, allocations: 15.94 kB / 1.328 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.7785, allocations: 206.8 kB / 1.328 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.7802, allocations: 0.7777 MB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.781, allocations: 345.9 kB / 1.329 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.7822, allocations: 0.935 MB / 1.33 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.7826, allocations: 257 kB / 1.33 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.7831, allocations: 338.6 kB / 1.33 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.7838, allocations: 286.9 kB / 1.331 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.7839, allocations: 35.94 kB / 1.331 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.7849, allocations: 0.643 MB / 1.331 GB, free: 9.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.785, allocations: 127.7 kB / 1.331 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.7852, allocations: 211 kB / 1.332 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.7862, allocations: 0.7563 MB / 1.332 GB, free: 8.891 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.7862, allocations: 7.984 kB / 1.332 GB, free: 8.883 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7862, allocations: 0 / 1.332 GB, free: 8.883 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7862, allocations: 4 kB / 1.332 GB, free: 8.879 MB / 1.061 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.0009694/0.7872, allocations: 0.7199 MB / 1.333 GB, free: 8.109 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.7872, allocations: 12.92 kB / 1.333 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.7873, allocations: 58.53 kB / 1.333 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.7882, allocations: 139.6 kB / 1.333 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.7887, allocations: 426.6 kB / 1.334 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.7887, allocations: 16.56 kB / 1.334 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.7888, allocations: 24 kB / 1.334 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.7892, allocations: 279.7 kB / 1.334 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.7892, allocations: 0 / 1.334 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.7892, allocations: 12 kB / 1.334 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.7893, allocations: 16.48 kB / 1.334 GB, free: 7.086 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.7896, allocations: 198.1 kB / 1.334 GB, free: 6.891 MB / 1.061 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.001544/0.7911, allocations: 1.323 MB / 1.336 GB, free: 5.426 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.7915, allocations: 196.8 kB / 1.336 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.7916, allocations: 94.83 kB / 1.336 GB, free: 5.133 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.7917, allocations: 0 / 1.336 GB, free: 5.133 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.7917, allocations: 42.55 kB / 1.336 GB, free: 5.082 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 9.92e-07/0.7917, allocations: 0 / 1.336 GB, free: 5.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0008291/0.7925, allocations: 399.5 kB / 1.336 GB, free: 4.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.7926, allocations: 55.41 kB / 1.336 GB, free: 4.598 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.7929, allocations: 304.5 kB / 1.337 GB, free: 4.293 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.7929, allocations: 33.7 kB / 1.337 GB, free: 4.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.793, allocations: 192.3 kB / 1.337 GB, free: 4.062 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.7931, allocations: 71.39 kB / 1.337 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.7932, allocations: 41.7 kB / 1.337 GB, free: 3.945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7933, allocations: 346.8 kB / 1.337 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.7934, allocations: 59.98 kB / 1.337 GB, free: 3.539 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.7936, allocations: 114 kB / 1.337 GB, free: 3.406 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.7938, allocations: 200 kB / 1.338 GB, free: 3.191 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7938, allocations: 0 / 1.338 GB, free: 3.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003382/0.7942, allocations: 255.1 kB / 1.338 GB, free: 2.938 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.7942, allocations: 8 kB / 1.338 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7942, allocations: 0 / 1.338 GB, free: 2.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7942, allocations: 4 kB / 1.338 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.7944, allocations: 47.92 kB / 1.338 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7944, allocations: 0 / 1.338 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.7946, allocations: 23.88 kB / 1.338 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.7947, allocations: 4 kB / 1.338 GB, free: 2.852 MB / 1.061 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.0001408/0.7948, allocations: 165.9 kB / 1.338 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.7949, allocations: 35.75 kB / 1.338 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.795, allocations: 39.08 kB / 1.338 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.795, allocations: 4 kB / 1.338 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.795, allocations: 0 / 1.338 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.795, allocations: 0 / 1.338 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.7955, allocations: 401.3 kB / 1.339 GB, free: 2.152 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.7955, allocations: 3.984 kB / 1.339 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.7956, allocations: 43.86 kB / 1.339 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.7958, allocations: 40.83 kB / 1.339 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7958, allocations: 8 kB / 1.339 GB, free: 2.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.797, allocations: 1.523 MB / 1.34 GB, free: 404 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.797, allocations: 4.031 kB / 1.34 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.7976, allocations: 396.6 kB / 1.34 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.7977, allocations: 132.9 kB / 1.341 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.7977, allocations: 12 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.798, allocations: 8 kB / 1.341 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.798, allocations: 7.984 kB / 1.341 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.798, allocations: 8 kB / 1.341 GB, free: 15.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002047/0.7982, allocations: 223 kB / 1.341 GB, free: 15.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7982, allocations: 0 / 1.341 GB, free: 15.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003454/0.7986, allocations: 103.8 kB / 1.341 GB, free: 15.48 MB / 1.076 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.0008222/0.7994, allocations: 0.947 MB / 1.342 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.7997, allocations: 167.8 kB / 1.342 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7997, allocations: 0 / 1.342 GB, free: 14.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.8, allocations: 200.3 kB / 1.342 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.8008, allocations: 202.7 kB / 1.342 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.804, allocations: 2.925 MB / 1.345 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.8043, allocations: 0.796 MB / 1.346 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001902/0.8045, allocations: 59.25 kB / 1.346 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.8047, allocations: 99.41 kB / 1.346 GB, free: 9.938 MB / 1.076 GB Notification: Performance of SimCode: time 2.2e-07/0.8047, allocations: 0 / 1.346 GB, free: 9.938 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.574/4.379, allocations: 8.995 MB / 1.355 GB, free: 1.164 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/16.91, allocations: 7.312 kB / 1.355 GB, free: 1.16 MB / 1.076 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)