Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",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.005927/0.005927, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001696/0.001696, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.458/2.458, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 59.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2408, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.5984/0.8392, allocations: 168.4 MB / 1.385 GB, free: 1.797 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.8576, allocations: 17.34 MB / 1.402 GB, free: 3.793 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.8585, allocations: 34.97 kB / 1.402 GB, free: 3.777 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.8598, allocations: 0.5687 MB / 1.402 GB, free: 3.293 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003486/0.8633, allocations: 1.782 MB / 1.404 GB, free: 1.961 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.866, allocations: 1.451 MB / 1.405 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.8684, allocations: 2.854 MB / 1.408 GB, free: 15.16 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.8704, allocations: 1.946 MB / 1.41 GB, free: 13.87 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.8734, allocations: 1.42 MB / 1.411 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.8745, allocations: 1.12 MB / 1.412 GB, free: 12.34 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.8748, allocations: 221.1 kB / 1.413 GB, free: 12.34 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.8771, allocations: 1.556 MB / 1.414 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/0.8776, allocations: 0.7949 MB / 1.415 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009581/0.8786, allocations: 1.273 MB / 1.416 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.8819, allocations: 3.744 MB / 1.42 GB, free: 7.562 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8819, allocations: 0 / 1.42 GB, free: 7.562 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.123e-06/0.8819, allocations: 0 / 1.42 GB, free: 7.562 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.8819, allocations: 0 / 1.42 GB, free: 7.562 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003687/0.8856, allocations: 2.988 MB / 1.423 GB, free: 5.348 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.8857, allocations: 7.75 kB / 1.423 GB, free: 5.348 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.8859, allocations: 253.2 kB / 1.423 GB, free: 5.148 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.8889, allocations: 0.5807 MB / 1.424 GB, free: 4.871 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/0.8922, allocations: 3.437 MB / 1.427 GB, free: 1.621 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/0.8923, allocations: 131.4 kB / 1.427 GB, free: 1.492 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.8925, allocations: 172 kB / 1.427 GB, free: 1.324 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.8953, allocations: 1.945 MB / 1.429 GB, free: 15.33 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.8953, allocations: 8 kB / 1.429 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.8954, allocations: 72 kB / 1.429 GB, free: 15.25 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.8955, allocations: 43.94 kB / 1.429 GB, free: 15.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.8986, allocations: 2.089 MB / 1.431 GB, free: 13.11 MB / 1.123 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.007479/0.9061, allocations: 6.545 MB / 1.438 GB, free: 6.227 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.9091, allocations: 2.097 MB / 1.44 GB, free: 4.055 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.9103, allocations: 0.7691 MB / 1.44 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.9108, allocations: 429.6 kB / 1.441 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.9123, allocations: 1.009 MB / 1.442 GB, free: 1.758 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 2.525e-06/0.9123, allocations: 0 / 1.442 GB, free: 1.758 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.005762/0.9181, allocations: 2.97 MB / 1.445 GB, free: 14.68 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.9182, allocations: 197.2 kB / 1.445 GB, free: 14.44 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003898/0.9221, allocations: 4.056 MB / 1.449 GB, free: 10.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.9222, allocations: 61.7 kB / 1.449 GB, free: 10.31 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006603/0.9229, allocations: 0.8958 MB / 1.45 GB, free: 9.406 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.9232, allocations: 0.4957 MB / 1.45 GB, free: 8.906 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.9236, allocations: 239.5 kB / 1.451 GB, free: 8.664 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9237, allocations: 357.9 kB / 1.451 GB, free: 8.309 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/0.9247, allocations: 0.5648 MB / 1.451 GB, free: 7.746 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.9259, allocations: 0.8008 MB / 1.452 GB, free: 6.879 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/0.928, allocations: 1.31 MB / 1.454 GB, free: 5.559 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.928, allocations: 8 kB / 1.454 GB, free: 5.551 MB / 1.139 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003266/0.9313, allocations: 1.773 MB / 1.455 GB, free: 3.754 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9313, allocations: 7.984 kB / 1.455 GB, free: 3.746 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.9313, allocations: 0 / 1.455 GB, free: 3.746 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.9323, allocations: 212.2 kB / 1.455 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.9335, allocations: 327.5 kB / 1.456 GB, free: 3.203 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/0.9391, allocations: 7.321 MB / 1.463 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.9401, allocations: 157.5 kB / 1.463 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.735e-05/0.9402, allocations: 51.95 kB / 1.463 GB, free: 10.97 MB / 1.154 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 (144): * Single equations (assignments): 139 * 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.000623/0.9409, allocations: 497.2 kB / 1.464 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.9412, allocations: 198.7 kB / 1.464 GB, free: 10.28 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.9451, allocations: 2.138 MB / 1.466 GB, free: 8.117 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9451, allocations: 16 kB / 1.466 GB, free: 8.102 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9451, allocations: 4 kB / 1.466 GB, free: 8.098 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.9451, allocations: 7.969 kB / 1.466 GB, free: 8.09 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00578/0.9509, allocations: 4.104 MB / 1.47 GB, free: 3.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9509, allocations: 0 / 1.47 GB, free: 3.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.9522, allocations: 319.5 kB / 1.47 GB, free: 3.598 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000771/0.953, allocations: 216 kB / 1.47 GB, free: 3.371 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/0.9531, allocations: 39.97 kB / 1.47 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/0.9585, allocations: 7.351 MB / 1.478 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9585, allocations: 0 / 1.478 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.9619, allocations: 2.006 MB / 1.48 GB, free: 9.23 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.9626, allocations: 0.5228 MB / 1.48 GB, free: 8.688 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.9628, allocations: 28 kB / 1.48 GB, free: 8.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.9638, allocations: 109.9 kB / 1.48 GB, free: 8.555 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.9641, allocations: 121.1 kB / 1.48 GB, free: 8.434 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.9642, allocations: 67.94 kB / 1.48 GB, free: 8.367 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002865/0.9671, allocations: 3.12 MB / 1.483 GB, free: 5.254 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9671, allocations: 0 / 1.483 GB, free: 5.254 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001342/0.9684, allocations: 0.6975 MB / 1.484 GB, free: 4.555 MB / 1.17 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.005594/0.974, allocations: 3.218 MB / 1.487 GB, free: 1.488 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002956/0.977, allocations: 2.052 MB / 1.489 GB, free: 15.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.977, allocations: 8.5 kB / 1.489 GB, free: 15.37 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.9789, allocations: 1.422 MB / 1.491 GB, free: 13.88 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.9808, allocations: 0.5447 MB / 1.491 GB, free: 13.35 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.006, allocations: 20.83 MB / 1.512 GB, free: 8.277 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.007, allocations: 1.535 MB / 1.513 GB, free: 6.711 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00137/1.008, allocations: 0.5289 MB / 1.514 GB, free: 6.176 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.009, allocations: 0.8976 MB / 1.514 GB, free: 5.277 MB / 1.201 GB Notification: Performance of SimCode: time 1.894e-06/1.01, allocations: 0 / 1.514 GB, free: 5.277 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.669/9.679, allocations: 48.92 MB / 1.562 GB, free: 4.82 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.37/33.05, allocations: 11.91 kB / 1.562 GB, free: 4.809 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)