Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",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.00154/0.001539, 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.00179/0.00179, allocations: 193.7 kB / 16.14 MB, free: 6.648 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4543, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1459/0.6003, allocations: 173.9 MB / 1.187 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.6162, allocations: 15.69 MB / 1.202 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/0.6169, allocations: 27.81 kB / 1.202 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.6182, allocations: 0.5087 MB / 1.202 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.6208, allocations: 1.43 MB / 1.204 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.6237, allocations: 1.49 MB / 1.205 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.6261, allocations: 3.331 MB / 1.208 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.6278, allocations: 1.688 MB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.6311, allocations: 1.236 MB / 1.211 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.632, allocations: 1.023 MB / 1.212 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.6322, allocations: 108 kB / 1.212 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.6341, allocations: 1.403 MB / 1.214 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.6344, allocations: 494.2 kB / 1.214 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.6352, allocations: 0.9482 MB / 1.215 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.6375, allocations: 2.936 MB / 1.218 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6376, allocations: 7.984 kB / 1.218 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.71e-07/0.6376, allocations: 0 / 1.218 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.6376, allocations: 0 / 1.218 GB, free: 3.836 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003372/0.641, allocations: 2.306 MB / 1.22 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.641, allocations: 15.98 kB / 1.22 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.6412, allocations: 240.3 kB / 1.221 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.6441, allocations: 469 kB / 1.221 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6454, allocations: 1.089 MB / 1.222 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.6455, allocations: 127.2 kB / 1.222 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.6457, allocations: 160 kB / 1.222 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.6483, allocations: 1.784 MB / 1.224 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.6484, allocations: 3.938 kB / 1.224 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.6485, allocations: 68 kB / 1.224 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.6486, allocations: 47.98 kB / 1.224 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.6514, allocations: 1.772 MB / 1.226 GB, free: 11.57 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.006838/0.6582, allocations: 6.187 MB / 1.232 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/0.6607, allocations: 1.554 MB / 1.233 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009113/0.6616, allocations: 0.5708 MB / 1.234 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/0.6623, allocations: 0.8789 MB / 1.235 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.6636, allocations: 0.7972 MB / 1.236 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=126): time 2.495e-06/0.6636, allocations: 4 kB / 1.236 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126): time 0.00423/0.6679, allocations: 1.883 MB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.668, allocations: 200.9 kB / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.669, allocations: 0.9797 MB / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.413e-05/0.6691, allocations: 53.7 kB / 1.239 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.6695, allocations: 0.6607 MB / 1.239 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.6698, allocations: 414 kB / 1.24 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.6701, allocations: 222.7 kB / 1.24 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6702, allocations: 345.9 kB / 1.24 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/0.6711, allocations: 430.4 kB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/0.672, allocations: 0.5975 MB / 1.241 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.6737, allocations: 1.019 MB / 1.242 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6738, allocations: 0 / 1.242 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002585/0.6764, allocations: 1.301 MB / 1.244 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6764, allocations: 4 kB / 1.244 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.6764, allocations: 8 kB / 1.244 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.6769, allocations: 88.91 kB / 1.244 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.6782, allocations: 279.6 kB / 1.244 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.6799, allocations: 1.543 MB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.681, allocations: 166.8 kB / 1.246 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.681, allocations: 47.91 kB / 1.246 GB, free: 6.402 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004911/0.6815, allocations: 380.8 kB / 1.246 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.6818, allocations: 138.4 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.685, allocations: 1.61 MB / 1.248 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.685, allocations: 12 kB / 1.248 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.685, allocations: 0 / 1.248 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6851, allocations: 7.969 kB / 1.248 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004601/0.6897, allocations: 3.169 MB / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.6897, allocations: 0 / 1.251 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.6909, allocations: 267.7 kB / 1.251 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/0.6914, allocations: 88.77 kB / 1.251 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.6915, allocations: 43.91 kB / 1.251 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3765/1.068, allocations: 1.559 MB / 1.253 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.068, allocations: 0.625 kB / 1.253 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/1.073, allocations: 2.175 MB / 1.255 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/1.073, allocations: 393.5 kB / 1.255 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.074, allocations: 31.48 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.075, allocations: 119.3 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/1.075, allocations: 93.45 kB / 1.255 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.075, allocations: 62.14 kB / 1.256 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001024/1.076, allocations: 0.6863 MB / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.076, allocations: 0 / 1.256 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001381/1.078, allocations: 0.5441 MB / 1.257 GB, free: 229.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005707/1.083, allocations: 3.347 MB / 1.26 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002405/1.086, allocations: 1.242 MB / 1.261 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.086, allocations: 1.75 kB / 1.261 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.087, allocations: 0.7536 MB / 1.262 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.089, allocations: 0.5396 MB / 1.262 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/1.106, allocations: 11.37 MB / 1.274 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/1.107, allocations: 1.31 MB / 1.275 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001614/1.109, allocations: 445 kB / 1.275 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/1.109, allocations: 0.662 MB / 1.276 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.109, allocations: 1.688 kB / 1.276 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8774/1.987, allocations: 35.8 MB / 1.311 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.987, allocations: 277.2 kB / 1.311 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/5.307, allocations: 0 / 1.311 GB, free: 191.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)