Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.004402/0.004402, allocations: 98.34 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.001281/0.001281, allocations: 195.6 kB / 16.68 MB, free: 5.934 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.215/1.215, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.169/2.169, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5726, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1618/0.7344, allocations: 168.3 MB / 1.331 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.7532, allocations: 17.05 MB / 1.347 GB, free: 9.676 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009978/0.7542, allocations: 31.81 kB / 1.347 GB, free: 9.645 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.7555, allocations: 0.5584 MB / 1.348 GB, free: 9.082 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.759, allocations: 1.604 MB / 1.349 GB, free: 7.473 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.7615, allocations: 1.337 MB / 1.351 GB, free: 6.148 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.7638, allocations: 2.696 MB / 1.353 GB, free: 3.445 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.7657, allocations: 1.888 MB / 1.355 GB, free: 1.508 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.7686, allocations: 1.33 MB / 1.356 GB, free: 224 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009829/0.7696, allocations: 0.992 MB / 1.357 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.7698, allocations: 212 kB / 1.358 GB, free: 15.01 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.7718, allocations: 1.427 MB / 1.359 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.7723, allocations: 0.553 MB / 1.36 GB, free: 13.03 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008885/0.7732, allocations: 1.038 MB / 1.361 GB, free: 11.99 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.7764, allocations: 3.134 MB / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7764, allocations: 0 / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7764, allocations: 0 / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.7764, allocations: 0 / 1.364 GB, free: 8.844 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003252/0.7797, allocations: 2.342 MB / 1.366 GB, free: 6.434 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7797, allocations: 8.922 kB / 1.366 GB, free: 6.426 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.78, allocations: 253 kB / 1.366 GB, free: 6.168 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.7831, allocations: 0.5217 MB / 1.367 GB, free: 5.645 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.7845, allocations: 1.122 MB / 1.368 GB, free: 4.477 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.7846, allocations: 127.4 kB / 1.368 GB, free: 4.352 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.7848, allocations: 168 kB / 1.368 GB, free: 4.188 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002814/0.7876, allocations: 1.848 MB / 1.37 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.7877, allocations: 3.984 kB / 1.37 GB, free: 2.285 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.7878, allocations: 75.98 kB / 1.37 GB, free: 2.211 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.7879, allocations: 44 kB / 1.37 GB, free: 2.168 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.791, allocations: 1.871 MB / 1.372 GB, free: 300 kB / 1.092 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.006772/0.7977, allocations: 5.525 MB / 1.377 GB, free: 10.44 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.8006, allocations: 1.767 MB / 1.379 GB, free: 8.594 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8017, allocations: 0.6554 MB / 1.38 GB, free: 7.934 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008213/0.8025, allocations: 0.8039 MB / 1.38 GB, free: 6.965 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.804, allocations: 0.9035 MB / 1.381 GB, free: 6.039 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 2.274e-06/0.804, allocations: 0 / 1.381 GB, free: 6.039 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.005545/0.8096, allocations: 2.56 MB / 1.384 GB, free: 3.367 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8097, allocations: 197.2 kB / 1.384 GB, free: 3.133 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.8106, allocations: 0.8388 MB / 1.385 GB, free: 2.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.8107, allocations: 57.7 kB / 1.385 GB, free: 2.207 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.8112, allocations: 0.6577 MB / 1.385 GB, free: 1.539 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.8116, allocations: 0.4918 MB / 1.386 GB, free: 1.043 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.8119, allocations: 238.8 kB / 1.386 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8121, allocations: 353.9 kB / 1.386 GB, free: 460 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.813, allocations: 474.4 kB / 1.387 GB, free: 15.98 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.8141, allocations: 0.634 MB / 1.388 GB, free: 15.31 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.8162, allocations: 1.099 MB / 1.389 GB, free: 14.2 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8162, allocations: 3.938 kB / 1.389 GB, free: 14.2 MB / 1.123 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003142/0.8193, allocations: 1.5 MB / 1.39 GB, free: 12.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8194, allocations: 8.094 kB / 1.39 GB, free: 12.67 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8194, allocations: 7.875 kB / 1.39 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008252/0.8202, allocations: 200.2 kB / 1.39 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.8216, allocations: 327.5 kB / 1.391 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005699/0.8273, allocations: 7.29 MB / 1.398 GB, free: 4.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/0.8282, allocations: 147.1 kB / 1.398 GB, free: 3.996 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.8283, allocations: 55.95 kB / 1.398 GB, free: 3.941 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005193/0.8288, allocations: 375.7 kB / 1.398 GB, free: 3.566 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.829, allocations: 135.2 kB / 1.398 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.8328, allocations: 1.846 MB / 1.4 GB, free: 1.559 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.8329, allocations: 16 kB / 1.4 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8329, allocations: 0 / 1.4 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.8329, allocations: 7.969 kB / 1.4 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.8382, allocations: 3.437 MB / 1.404 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8382, allocations: 0 / 1.404 GB, free: 14.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.8395, allocations: 315.6 kB / 1.404 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006714/0.8401, allocations: 180.1 kB / 1.404 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.099e-05/0.8402, allocations: 43.91 kB / 1.404 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005544/0.8458, allocations: 7.331 MB / 1.411 GB, free: 5.445 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8458, allocations: 0 / 1.411 GB, free: 5.445 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.849, allocations: 1.713 MB / 1.413 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.8496, allocations: 411.7 kB / 1.413 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.8497, allocations: 28 kB / 1.413 GB, free: 3.242 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009808/0.8507, allocations: 101.2 kB / 1.413 GB, free: 3.145 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.8509, allocations: 117.1 kB / 1.414 GB, free: 3.031 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.851, allocations: 71.94 kB / 1.414 GB, free: 2.961 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000666/0.8517, allocations: 0.5786 MB / 1.414 GB, free: 2.371 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8517, allocations: 0 / 1.414 GB, free: 2.371 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001147/0.8529, allocations: 0.6116 MB / 1.415 GB, free: 1.758 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005349/0.8582, allocations: 2.889 MB / 1.418 GB, free: 14.99 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002819/0.8611, allocations: 1.84 MB / 1.419 GB, free: 13.09 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8611, allocations: 4.562 kB / 1.419 GB, free: 13.08 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.8629, allocations: 1.301 MB / 1.421 GB, free: 11.72 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.8647, allocations: 0.5246 MB / 1.421 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.8797, allocations: 9.985 MB / 1.431 GB, free: 1.047 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/0.8806, allocations: 1.296 MB / 1.432 GB, free: 15.72 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001188/0.8818, allocations: 430.4 kB / 1.433 GB, free: 15.29 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/0.8827, allocations: 0.6515 MB / 1.433 GB, free: 14.64 MB / 1.17 GB Notification: Performance of SimCode: time 3.2e-07/0.8827, allocations: 4 kB / 1.433 GB, free: 14.64 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 14.92/15.81, allocations: 37.59 MB / 1.47 GB, free: 9.383 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.09/40.9, allocations: 14.03 kB / 1.47 GB, free: 9.371 MB / 1.201 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)