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.001395/0.001395, 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.00129/0.00129, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.348/2.348, allocations: 437 MB / 0.71 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5172, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1445/0.6618, allocations: 166.1 MB / 1.179 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.6803, allocations: 17.4 MB / 1.196 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.6815, allocations: 27.81 kB / 1.196 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.6827, allocations: 485 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.6863, allocations: 1.587 MB / 1.198 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.689, allocations: 1.273 MB / 1.199 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002483/0.6915, allocations: 3.096 MB / 1.202 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.6934, allocations: 1.81 MB / 1.204 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004161/0.6976, allocations: 1.253 MB / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.6986, allocations: 1.093 MB / 1.206 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.6989, allocations: 120 kB / 1.206 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.7013, allocations: 1.575 MB / 1.208 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.7019, allocations: 0.6969 MB / 1.209 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009696/0.7029, allocations: 1.169 MB / 1.21 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.7061, allocations: 3.621 MB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7061, allocations: 7.875 kB / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7061, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.236e-05/0.7061, allocations: 0 / 1.213 GB, free: 8.793 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.004261/0.7104, allocations: 2.9 MB / 1.216 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7105, allocations: 12.03 kB / 1.216 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002746/0.7107, allocations: 252.8 kB / 1.216 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/0.7144, allocations: 0.5628 MB / 1.217 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.7178, allocations: 3.393 MB / 1.22 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.7179, allocations: 131.4 kB / 1.22 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.7181, allocations: 168 kB / 1.221 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/0.7212, allocations: 1.94 MB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.7212, allocations: 3.938 kB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.7214, allocations: 76 kB / 1.222 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.7214, allocations: 43.98 kB / 1.223 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.7248, allocations: 2.085 MB / 1.225 GB, free: 13.04 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.008243/0.7331, allocations: 6.597 MB / 1.231 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.7363, allocations: 2.106 MB / 1.233 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.7376, allocations: 0.753 MB / 1.234 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005484/0.7382, allocations: 437.5 kB / 1.234 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.7398, allocations: 1.009 MB / 1.235 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.046e-06/0.7398, allocations: 0 / 1.235 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006303/0.7461, allocations: 2.957 MB / 1.238 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/0.7462, allocations: 201.2 kB / 1.238 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/0.7502, allocations: 4.049 MB / 1.242 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.7504, allocations: 61.7 kB / 1.242 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.751, allocations: 0.8827 MB / 1.243 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.7514, allocations: 488.9 kB / 1.244 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/0.7518, allocations: 234.9 kB / 1.244 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7519, allocations: 353.9 kB / 1.244 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.753, allocations: 0.5765 MB / 1.245 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.7543, allocations: 0.7978 MB / 1.246 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.7565, allocations: 1.306 MB / 1.247 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7565, allocations: 0 / 1.247 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00364/0.7602, allocations: 1.775 MB / 1.249 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7602, allocations: 8 kB / 1.249 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7602, allocations: 0 / 1.249 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.7613, allocations: 220.1 kB / 1.249 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.7628, allocations: 319.6 kB / 1.249 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4047/1.168, allocations: 6.799 MB / 1.256 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.169, allocations: 177.5 kB / 1.256 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.169, allocations: 52.31 kB / 1.256 GB, free: 226.8 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.000828/1.17, allocations: 491 kB / 1.256 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/1.17, allocations: 193.2 kB / 1.257 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/1.175, allocations: 2.137 MB / 1.259 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/1.175, allocations: 15.06 kB / 1.259 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.175, allocations: 6.594 kB / 1.259 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.175, allocations: 8.031 kB / 1.259 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006426/1.181, allocations: 4.098 MB / 1.263 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.181, allocations: 0.6875 kB / 1.263 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.183, allocations: 321.4 kB / 1.263 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009/1.184, allocations: 214.6 kB / 1.263 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/1.184, allocations: 40.5 kB / 1.263 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/1.188, allocations: 6.844 MB / 1.27 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.188, allocations: 0.5312 kB / 1.27 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004446/1.192, allocations: 1.999 MB / 1.272 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008152/1.193, allocations: 0.5091 MB / 1.272 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/1.193, allocations: 29.03 kB / 1.272 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.194, allocations: 140.7 kB / 1.273 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.195, allocations: 112.8 kB / 1.273 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.195, allocations: 70.22 kB / 1.273 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002865/1.198, allocations: 3.119 MB / 1.276 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.198, allocations: 3.156 kB / 1.276 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001684/1.199, allocations: 0.6882 MB / 1.276 GB, free: 215.5 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.005157/1.205, allocations: 3.212 MB / 1.28 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003016/1.208, allocations: 2.04 MB / 1.282 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.208, allocations: 3.281 kB / 1.282 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.209, allocations: 1.407 MB / 1.283 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/1.212, allocations: 0.5252 MB / 1.283 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.237, allocations: 23.12 MB / 1.306 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/1.237, allocations: 1.545 MB / 1.308 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001759/1.239, allocations: 0.5211 MB / 1.308 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/1.24, allocations: 0.9093 MB / 1.309 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.24, allocations: 0 / 1.309 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4722/1.712, allocations: 47.06 MB / 1.355 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/1.712, allocations: 280.1 kB / 1.355 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/5.238, allocations: 7.812 kB / 1.355 GB, free: 144.1 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)