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.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_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.001156/0.001156, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009255/0.009255, allocations: 170.8 kB / 16.27 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.503/2.503, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 8 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5471/0.5475, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1595/0.707, allocations: 163.9 MB / 1.183 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.7274, allocations: 17.16 MB / 1.2 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.7286, allocations: 23.81 kB / 1.2 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.7301, allocations: 481 kB / 1.2 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.7343, allocations: 1.596 MB / 1.202 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.7373, allocations: 1.28 MB / 1.203 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003236/0.7405, allocations: 3.085 MB / 1.206 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.7429, allocations: 1.667 MB / 1.208 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004549/0.7474, allocations: 1.099 MB / 1.209 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.7487, allocations: 0.9019 MB / 1.21 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.749, allocations: 52 kB / 1.21 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.7516, allocations: 1.505 MB / 1.211 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005647/0.7522, allocations: 0.5954 MB / 1.212 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.7533, allocations: 1.062 MB / 1.213 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.7573, allocations: 3.535 MB / 1.216 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7573, allocations: 0 / 1.216 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7573, allocations: 0 / 1.216 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.034e-05/0.7574, allocations: 0 / 1.216 GB, free: 9.199 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.004327/0.7617, allocations: 2.418 MB / 1.219 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7618, allocations: 8.031 kB / 1.219 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003799/0.7621, allocations: 248.8 kB / 1.219 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.7658, allocations: 0.5784 MB / 1.22 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.7696, allocations: 3.386 MB / 1.223 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.7697, allocations: 131.4 kB / 1.223 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.7699, allocations: 168 kB / 1.223 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.7731, allocations: 1.952 MB / 1.225 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.7732, allocations: 0 / 1.225 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.7734, allocations: 79.98 kB / 1.225 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7734, allocations: 40 kB / 1.225 GB, free: 20 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.7768, allocations: 2.097 MB / 1.227 GB, free: 13.92 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.008572/0.7854, allocations: 6.617 MB / 1.234 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.7887, allocations: 2.112 MB / 1.236 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.7899, allocations: 0.7647 MB / 1.236 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/0.7904, allocations: 433.6 kB / 1.237 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.7921, allocations: 1.017 MB / 1.238 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.645e-06/0.7921, allocations: 0 / 1.238 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006334/0.7984, allocations: 2.989 MB / 1.241 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.7985, allocations: 197.2 kB / 1.241 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/0.8028, allocations: 4.049 MB / 1.245 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.8029, allocations: 57.7 kB / 1.245 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.8036, allocations: 0.8905 MB / 1.246 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.8039, allocations: 477 kB / 1.246 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.8041, allocations: 101.7 kB / 1.246 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8042, allocations: 357.9 kB / 1.247 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.8054, allocations: 0.5726 MB / 1.247 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.8066, allocations: 0.7969 MB / 1.248 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.8089, allocations: 1.321 MB / 1.249 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.809, allocations: 4 kB / 1.249 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00362/0.8126, allocations: 1.776 MB / 1.251 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8126, allocations: 11.92 kB / 1.251 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.8126, allocations: 0 / 1.251 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.8137, allocations: 216.2 kB / 1.251 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.8152, allocations: 323.5 kB / 1.252 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4192/1.234, allocations: 6.812 MB / 1.258 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.236, allocations: 187.2 kB / 1.259 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.236, allocations: 53.03 kB / 1.259 GB, free: 224.2 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.0009594/1.237, allocations: 490.4 kB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/1.238, allocations: 190.9 kB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/1.242, allocations: 2.155 MB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.242, allocations: 15.41 kB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.242, allocations: 1.719 kB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.242, allocations: 8.391 kB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/1.249, allocations: 4.111 MB / 1.265 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.249, allocations: 0 / 1.265 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.251, allocations: 317.6 kB / 1.266 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009912/1.252, allocations: 221.6 kB / 1.266 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.404e-05/1.252, allocations: 45.41 kB / 1.266 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/1.256, allocations: 6.828 MB / 1.273 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.256, allocations: 1.266 kB / 1.273 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/1.261, allocations: 2.01 MB / 1.275 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/1.261, allocations: 0.5228 MB / 1.275 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/1.262, allocations: 28.62 kB / 1.275 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.263, allocations: 155 kB / 1.275 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/1.263, allocations: 119.7 kB / 1.275 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.263, allocations: 73.06 kB / 1.275 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003138/1.266, allocations: 3.118 MB / 1.278 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.266, allocations: 0 / 1.278 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001691/1.268, allocations: 0.6895 MB / 1.279 GB, free: 213.2 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.005379/1.274, allocations: 3.217 MB / 1.282 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003084/1.277, allocations: 2.059 MB / 1.284 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.277, allocations: 6.094 kB / 1.284 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/1.279, allocations: 1.419 MB / 1.286 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.281, allocations: 0.5185 MB / 1.286 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/1.306, allocations: 23.15 MB / 1.309 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/1.307, allocations: 1.541 MB / 1.31 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001761/1.309, allocations: 0.5212 MB / 1.311 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009444/1.31, allocations: 0.9014 MB / 1.312 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.31, allocations: 0 / 1.312 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.874/3.184, allocations: 46.09 MB / 1.357 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/3.184, allocations: 278.5 kB / 1.357 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/6.786, allocations: 0 / 1.357 GB, free: 142.9 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)