Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_CpData,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_10_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.001404/0.001404, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00155/0.00155, allocations: 195.3 kB / 16.25 MB, free: 6.625 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.422/2.422, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5283, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1581/0.6864, allocations: 166.1 MB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.7064, allocations: 17.17 MB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.7079, allocations: 31.81 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.7095, allocations: 489 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.7153, allocations: 1.621 MB / 1.198 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.7192, allocations: 1.295 MB / 1.199 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.7225, allocations: 2.866 MB / 1.202 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002583/0.7251, allocations: 1.952 MB / 1.204 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004966/0.7301, allocations: 1.41 MB / 1.205 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.7316, allocations: 1.165 MB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005168/0.7322, allocations: 220 kB / 1.207 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.735, allocations: 1.556 MB / 1.208 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006038/0.7356, allocations: 0.7984 MB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.7367, allocations: 1.271 MB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.7403, allocations: 3.715 MB / 1.214 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7403, allocations: 3.984 kB / 1.214 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7403, allocations: 4 kB / 1.214 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.7403, allocations: 0 / 1.214 GB, free: 8.324 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004142/0.7445, allocations: 2.904 MB / 1.217 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.7445, allocations: 16.02 kB / 1.217 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002503/0.7448, allocations: 244.9 kB / 1.217 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.7484, allocations: 0.5629 MB / 1.217 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/0.7517, allocations: 3.382 MB / 1.221 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.7518, allocations: 131.4 kB / 1.221 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.752, allocations: 168 kB / 1.221 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.755, allocations: 1.94 MB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.7551, allocations: 0 / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.7552, allocations: 79.98 kB / 1.223 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.7553, allocations: 43.98 kB / 1.223 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/0.7585, allocations: 2.085 MB / 1.225 GB, free: 12.59 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.008026/0.7665, allocations: 6.601 MB / 1.232 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.7695, allocations: 2.097 MB / 1.234 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.7707, allocations: 0.7491 MB / 1.234 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005249/0.7712, allocations: 441.5 kB / 1.235 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/0.7728, allocations: 1.005 MB / 1.236 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.675e-06/0.7729, allocations: 0 / 1.236 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006329/0.7792, allocations: 2.961 MB / 1.239 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/0.7793, allocations: 201.2 kB / 1.239 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.7835, allocations: 4.049 MB / 1.243 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.7836, allocations: 61.7 kB / 1.243 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006819/0.7843, allocations: 0.8866 MB / 1.244 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003699/0.7847, allocations: 484.9 kB / 1.244 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.7851, allocations: 238.8 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7852, allocations: 353.9 kB / 1.245 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.7862, allocations: 0.5765 MB / 1.245 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.7874, allocations: 0.7891 MB / 1.246 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.7896, allocations: 1.314 MB / 1.247 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7896, allocations: 0 / 1.247 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003637/0.7933, allocations: 1.772 MB / 1.249 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7933, allocations: 8.094 kB / 1.249 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7933, allocations: 4 kB / 1.249 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.7944, allocations: 224 kB / 1.249 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.7959, allocations: 327.5 kB / 1.25 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4072/1.203, allocations: 7.319 MB / 1.257 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.205, allocations: 180.7 kB / 1.257 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.205, allocations: 52.31 kB / 1.257 GB, free: 225.6 MB / 0.9981 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.0009037/1.206, allocations: 485.6 kB / 1.257 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/1.206, allocations: 188.6 kB / 1.258 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/1.211, allocations: 2.141 MB / 1.26 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.211, allocations: 15.06 kB / 1.26 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.211, allocations: 5.203 kB / 1.26 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.211, allocations: 8.359 kB / 1.26 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/1.218, allocations: 4.106 MB / 1.264 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.218, allocations: 0.5938 kB / 1.264 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.219, allocations: 315.9 kB / 1.264 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008689/1.22, allocations: 205.7 kB / 1.264 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.22, allocations: 40.91 kB / 1.264 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004282/1.224, allocations: 7.353 MB / 1.271 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.224, allocations: 1.375 kB / 1.271 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/1.229, allocations: 2.001 MB / 1.273 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008137/1.23, allocations: 0.5086 MB / 1.274 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.23, allocations: 28.53 kB / 1.274 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.232, allocations: 139.7 kB / 1.274 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/1.232, allocations: 112.2 kB / 1.274 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.232, allocations: 68.59 kB / 1.274 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003088/1.235, allocations: 3.122 MB / 1.277 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.235, allocations: 1.641 kB / 1.277 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001852/1.237, allocations: 0.6825 MB / 1.278 GB, free: 213.8 MB / 0.9981 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.005446/1.242, allocations: 3.209 MB / 1.281 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004855/1.247, allocations: 2.486 MB / 1.284 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.247, allocations: 2.906 kB / 1.284 GB, free: 211.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.249, allocations: 1.412 MB / 1.285 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.251, allocations: 0.5582 MB / 1.285 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.277, allocations: 23.12 MB / 1.308 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/1.278, allocations: 1.525 MB / 1.31 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001886/1.28, allocations: 0.529 MB / 1.31 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/1.281, allocations: 0.9015 MB / 1.311 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.281, allocations: 0 / 1.311 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.443/2.724, allocations: 48.27 MB / 1.358 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/2.724, allocations: 284.7 kB / 1.358 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/6.038, allocations: 0 / 1.358 GB, free: 140.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)