Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 180.9 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009278/0.0009278, allocations: 86.52 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.31e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.646/5.898, allocations: 2.21 GB / 3.095 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.899, allocations: 86.39 kB / 3.095 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/7.115, allocations: 303.9 MB / 3.392 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/7.116, allocations: 0 / 3.392 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002032/7.116, allocations: 44 kB / 3.392 GB, free: 199.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.005103/7.121, allocations: 1.765 MB / 3.394 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/7.121, allocations: 12.03 kB / 3.394 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003939/7.125, allocations: 499.3 kB / 3.394 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/7.127, allocations: 0.9756 MB / 3.395 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/7.127, allocations: 55.98 kB / 3.395 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/7.128, allocations: 99.95 kB / 3.396 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003187/7.131, allocations: 1.599 MB / 3.397 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/7.134, allocations: 1.451 MB / 3.398 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/7.134, allocations: 7.766 kB / 3.398 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/7.135, allocations: 7.984 kB / 3.398 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/7.135, allocations: 40 kB / 3.399 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/7.143, allocations: 4.769 MB / 3.403 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/7.144, allocations: 1.154 MB / 3.404 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/7.145, allocations: 0.5268 MB / 3.405 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008455/7.146, allocations: 0.8011 MB / 3.406 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/7.147, allocations: 0.7341 MB / 3.406 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 5.26e-06/7.147, allocations: 0 / 3.406 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.003281/7.151, allocations: 1.269 MB / 3.408 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/7.151, allocations: 252.6 kB / 3.408 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/7.152, allocations: 0.6255 MB / 3.408 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/7.152, allocations: 29.7 kB / 3.408 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/7.153, allocations: 0.6325 MB / 3.409 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/7.153, allocations: 437.3 kB / 3.409 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/7.153, allocations: 3.938 kB / 3.409 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/7.153, allocations: 361.9 kB / 3.41 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/7.154, allocations: 367.2 kB / 3.41 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/7.154, allocations: 0.5114 MB / 3.411 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/7.155, allocations: 458.1 kB / 3.411 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/7.155, allocations: 4 kB / 3.411 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002486/7.158, allocations: 1.234 MB / 3.412 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/7.158, allocations: 8 kB / 3.412 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/7.158, allocations: 0 / 3.412 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008433/7.158, allocations: 184.1 kB / 3.413 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/7.16, allocations: 303.6 kB / 3.413 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/7.164, allocations: 6.503 MB / 3.419 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/7.165, allocations: 123.2 kB / 3.419 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/7.166, allocations: 43.97 kB / 3.419 GB, free: 170.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005517/7.166, allocations: 126.2 kB / 3.419 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003116/7.169, allocations: 1.226 MB / 3.421 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/7.17, allocations: 122.6 kB / 3.421 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/7.173, allocations: 1.552 MB / 3.422 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/7.173, allocations: 16 kB / 3.422 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/7.173, allocations: 0 / 3.422 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/7.173, allocations: 11.92 kB / 3.422 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/7.175, allocations: 1.235 MB / 3.423 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/7.175, allocations: 3.984 kB / 3.423 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/7.176, allocations: 295.6 kB / 3.424 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007757/7.177, allocations: 188.1 kB / 3.424 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/7.177, allocations: 23.95 kB / 3.424 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/7.181, allocations: 6.512 MB / 3.43 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/7.182, allocations: 7.984 kB / 3.43 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/7.185, allocations: 1.355 MB / 3.432 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/7.186, allocations: 415 kB / 3.432 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/7.186, allocations: 4 kB / 3.432 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/7.188, allocations: 99.8 kB / 3.432 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/7.188, allocations: 97.17 kB / 3.432 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/7.188, allocations: 71.94 kB / 3.432 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008476/7.189, allocations: 0.4952 MB / 3.433 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/7.189, allocations: 0 / 3.433 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002573/7.192, allocations: 0.6064 MB / 3.433 GB, free: 155.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00614/7.198, allocations: 3.486 MB / 3.437 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002324/7.2, allocations: 1.561 MB / 3.438 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/7.2, allocations: 5.062 kB / 3.438 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/7.202, allocations: 1.138 MB / 3.439 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/7.204, allocations: 403.4 kB / 3.44 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/7.211, allocations: 2.464 MB / 3.442 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/7.212, allocations: 1.307 MB / 3.444 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002106/7.214, allocations: 412.9 kB / 3.444 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009073/7.215, allocations: 0.6203 MB / 3.445 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/7.215, allocations: 0 / 3.445 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07579/7.291, allocations: 41.84 MB / 3.485 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/7.291, allocations: 175 kB / 3.486 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.638/10.93, allocations: 0 / 3.486 GB, free: 102.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)