Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_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.004538/0.004538, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001236/0.001236, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002526/0.002526, allocations: 281.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 95.86 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.449, allocations: 89.14 MB / 0.7813 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1897/0.6387, allocations: 168.4 MB / 0.9458 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.6618, allocations: 17.36 MB / 0.9627 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.6634, allocations: 27.81 kB / 0.9628 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.6649, allocations: 0.5856 MB / 0.9633 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005046/0.67, allocations: 1.767 MB / 0.965 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.6737, allocations: 1.441 MB / 0.9665 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.6775, allocations: 2.863 MB / 0.9693 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.6801, allocations: 1.94 MB / 0.9711 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.6843, allocations: 1.429 MB / 0.9725 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.6863, allocations: 1.117 MB / 0.9736 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.6868, allocations: 220 kB / 0.9738 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.6903, allocations: 1.548 MB / 0.9754 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009273/0.6912, allocations: 0.7985 MB / 0.9761 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.6928, allocations: 1.267 MB / 0.9774 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00533/0.6982, allocations: 3.743 MB / 0.981 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6982, allocations: 0 / 0.981 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6982, allocations: 0 / 0.981 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.838e-05/0.6983, allocations: 0 / 0.981 GB, free: 2.293 MB / 0.7325 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.005302/0.7036, allocations: 2.994 MB / 0.984 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.7037, allocations: 8.031 kB / 0.984 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003178/0.704, allocations: 252.9 kB / 0.9842 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.7077, allocations: 0.5759 MB / 0.9848 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/0.7121, allocations: 3.442 MB / 0.9881 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.7122, allocations: 131.4 kB / 0.9882 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.7125, allocations: 168 kB / 0.9884 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.716, allocations: 1.944 MB / 0.9903 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.7161, allocations: 3.984 kB / 0.9903 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.7162, allocations: 72 kB / 0.9904 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.7163, allocations: 43.94 kB / 0.9904 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.72, allocations: 2.089 MB / 0.9925 GB, free: 6.391 MB / 0.7481 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.01077/0.7308, allocations: 6.556 MB / 0.9989 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.7346, allocations: 2.095 MB / 1.001 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.7361, allocations: 0.7659 MB / 1.002 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006994/0.7368, allocations: 437.6 kB / 1.002 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/0.7386, allocations: 1.001 MB / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=146): time 6.412e-06/0.7387, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of matching and sorting (n=146): time 0.007053/0.7457, allocations: 2.97 MB / 1.006 GB, free: 7.949 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.7459, allocations: 201.2 kB / 1.006 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004973/0.7509, allocations: 4.053 MB / 1.01 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002661/0.7512, allocations: 65.7 kB / 1.01 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008503/0.752, allocations: 0.8996 MB / 1.011 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.7525, allocations: 0.4957 MB / 1.012 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.7529, allocations: 230.9 kB / 1.012 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7531, allocations: 357.9 kB / 1.012 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.7543, allocations: 0.5687 MB / 1.013 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.7557, allocations: 0.797 MB / 1.013 GB, free: 156 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.7581, allocations: 1.314 MB / 1.015 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7581, allocations: 3.938 kB / 1.015 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004099/0.7622, allocations: 1.78 MB / 1.016 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7623, allocations: 4 kB / 1.016 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.7623, allocations: 4 kB / 1.016 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.7634, allocations: 228.1 kB / 1.017 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.7649, allocations: 319.6 kB / 1.017 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.7714, allocations: 7.312 MB / 1.024 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.7729, allocations: 159.2 kB / 1.024 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.773, allocations: 55.97 kB / 1.024 GB, free: 4.23 MB / 0.7794 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.0009329/0.774, allocations: 477.5 kB / 1.025 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/0.7744, allocations: 210.7 kB / 1.025 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.7789, allocations: 2.13 MB / 1.027 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.779, allocations: 16 kB / 1.027 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.779, allocations: 3.984 kB / 1.027 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.779, allocations: 3.984 kB / 1.027 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.786, allocations: 4.1 MB / 1.031 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.786, allocations: 11.94 kB / 1.031 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.7874, allocations: 311.5 kB / 1.031 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000913/0.7883, allocations: 212.1 kB / 1.032 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.7884, allocations: 43.95 kB / 1.032 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006318/0.7948, allocations: 7.353 MB / 1.039 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7948, allocations: 4 kB / 1.039 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.7992, allocations: 2.014 MB / 1.041 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/0.8001, allocations: 0.5226 MB / 1.041 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.8004, allocations: 24 kB / 1.041 GB, free: 1.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.8016, allocations: 110.9 kB / 1.041 GB, free: 1.82 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.8019, allocations: 113.2 kB / 1.042 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.802, allocations: 67.95 kB / 1.042 GB, free: 1.641 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003406/0.8054, allocations: 3.12 MB / 1.045 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8054, allocations: 0 / 1.045 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001836/0.8073, allocations: 0.6937 MB / 1.045 GB, free: 13.83 MB / 0.8106 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.006779/0.8141, allocations: 3.219 MB / 1.048 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003791/0.8179, allocations: 2.059 MB / 1.05 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8179, allocations: 0.5625 kB / 1.05 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.8203, allocations: 1.414 MB / 1.052 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.823, allocations: 0.5548 MB / 1.052 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/0.8558, allocations: 20.84 MB / 1.073 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3294/1.185, allocations: 1.533 MB / 1.074 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002371/1.188, allocations: 0.5242 MB / 1.075 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.189, allocations: 0.9019 MB / 1.076 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.393e-06/1.189, allocations: 0 / 1.076 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/1.294, allocations: 48.98 MB / 1.123 GB, free: 244.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.11, allocations: 10.02 kB / 1.123 GB, free: 244.8 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)