Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001227/0.001227, allocations: 198.9 kB / 16.14 MB, free: 6.645 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 461.8 MB / 0.7342 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 72.36 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3294, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1861/0.5156, allocations: 160.2 MB / 1.209 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004311/0.5199, allocations: 2.968 MB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005295/0.5205, allocations: 19.88 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.5212, allocations: 175.1 kB / 1.212 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.5231, allocations: 0.7159 MB / 1.212 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.5239, allocations: 319.3 kB / 1.213 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.5252, allocations: 1.223 MB / 1.214 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.5255, allocations: 222.1 kB / 1.214 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.526, allocations: 282.7 kB / 1.214 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.5268, allocations: 302.8 kB / 1.215 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.5269, allocations: 16 kB / 1.215 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5281, allocations: 0.7402 MB / 1.215 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.5283, allocations: 115.7 kB / 1.216 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.5285, allocations: 191 kB / 1.216 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.5294, allocations: 0.7751 MB / 1.216 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5294, allocations: 3.938 kB / 1.216 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5294, allocations: 0 / 1.216 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.5294, allocations: 0 / 1.216 GB, free: 15.44 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.001143/0.5306, allocations: 0.7089 MB / 1.217 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5306, allocations: 19.95 kB / 1.217 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.586e-05/0.5307, allocations: 58.55 kB / 1.217 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.5318, allocations: 143.4 kB / 1.217 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.5323, allocations: 398.3 kB / 1.218 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.5324, allocations: 20.56 kB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.5324, allocations: 24 kB / 1.218 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.5329, allocations: 279.6 kB / 1.218 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5329, allocations: 4 kB / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.5329, allocations: 8 kB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.5329, allocations: 8.562 kB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.5333, allocations: 198.1 kB / 1.218 GB, free: 13.48 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.001653/0.5349, allocations: 1.33 MB / 1.22 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.5353, allocations: 189.8 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5355, allocations: 90.38 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.5355, allocations: 4 kB / 1.22 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.5355, allocations: 42.5 kB / 1.22 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.5355, allocations: 0 / 1.22 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0009092/0.5364, allocations: 396.8 kB / 1.22 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5365, allocations: 59.34 kB / 1.22 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.5368, allocations: 300.5 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5368, allocations: 33.7 kB / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5369, allocations: 188.1 kB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.537, allocations: 67 kB / 1.221 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.5371, allocations: 49.64 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5372, allocations: 338.8 kB / 1.221 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.5373, allocations: 67.97 kB / 1.221 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.5375, allocations: 111.9 kB / 1.221 GB, free: 10 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.5377, allocations: 203.3 kB / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5377, allocations: 0 / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003614/0.5381, allocations: 241.1 kB / 1.222 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5381, allocations: 13.23 kB / 1.222 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5382, allocations: 4.188 kB / 1.222 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5382, allocations: 4 kB / 1.222 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.5384, allocations: 43.92 kB / 1.222 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5384, allocations: 3.938 kB / 1.222 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.5387, allocations: 27.75 kB / 1.222 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5387, allocations: 4 kB / 1.222 GB, free: 9.441 MB / 0.9825 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.0001563/0.5389, allocations: 169.7 kB / 1.222 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.5389, allocations: 31.66 kB / 1.222 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.539, allocations: 39.06 kB / 1.222 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.539, allocations: 7.984 kB / 1.222 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.539, allocations: 0 / 1.222 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.539, allocations: 0 / 1.222 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.5395, allocations: 401.3 kB / 1.223 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5395, allocations: 0 / 1.223 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.5397, allocations: 39.92 kB / 1.223 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.5399, allocations: 52.75 kB / 1.223 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.54, allocations: 4 kB / 1.223 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.5411, allocations: 1.405 MB / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5411, allocations: 0 / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.5416, allocations: 406.7 kB / 1.224 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.5418, allocations: 124.8 kB / 1.225 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.5418, allocations: 8 kB / 1.225 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.5421, allocations: 12.05 kB / 1.225 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.5421, allocations: 19.92 kB / 1.225 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.5422, allocations: 4 kB / 1.225 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002073/0.5424, allocations: 215.1 kB / 1.225 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5424, allocations: 3.938 kB / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003954/0.5428, allocations: 107.8 kB / 1.225 GB, free: 6.191 MB / 0.9825 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.0008786/0.5437, allocations: 0.9494 MB / 1.226 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.5439, allocations: 159.8 kB / 1.226 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.544, allocations: 3.938 kB / 1.226 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.5443, allocations: 198.6 kB / 1.226 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/0.5452, allocations: 191.8 kB / 1.226 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.5488, allocations: 3.035 MB / 1.229 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.5492, allocations: 0.7957 MB / 1.23 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002523/0.5494, allocations: 55.25 kB / 1.23 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5496, allocations: 107.4 kB / 1.23 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.5496, allocations: 0 / 1.23 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2661/0.8157, allocations: 8.528 MB / 1.239 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.816, allocations: 218.6 kB / 1.239 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.618, allocations: 0 / 1.239 GB, free: 7.969 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)