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.001268/0.001268, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002417/0.002417, allocations: 294.9 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 100.6 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1571, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4448/0.6019, allocations: 168.4 MB / 0.858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02209/0.6241, allocations: 17.35 MB / 0.875 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.626, allocations: 31.97 kB / 0.875 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.6275, allocations: 0.5719 MB / 0.8756 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.6321, allocations: 1.775 MB / 0.8773 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.6354, allocations: 1.432 MB / 0.8787 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003065/0.6385, allocations: 2.844 MB / 0.8815 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.6409, allocations: 1.947 MB / 0.8834 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.6447, allocations: 1.427 MB / 0.8848 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.6462, allocations: 1.107 MB / 0.8858 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003456/0.6466, allocations: 224 kB / 0.8861 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.6494, allocations: 1.525 MB / 0.8875 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007122/0.6501, allocations: 0.7946 MB / 0.8883 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.6516, allocations: 1.275 MB / 0.8896 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005098/0.6567, allocations: 3.649 MB / 0.8931 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6567, allocations: 0 / 0.8931 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6567, allocations: 0 / 0.8931 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.506e-05/0.6568, allocations: 0 / 0.8931 GB, free: 15.17 MB / 0.6231 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.005804/0.6626, allocations: 2.904 MB / 0.896 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6627, allocations: 15.97 kB / 0.896 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002972/0.663, allocations: 248.8 kB / 0.8962 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/0.6667, allocations: 0.5706 MB / 0.8968 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/0.6708, allocations: 3.382 MB / 0.9001 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.671, allocations: 131.4 kB / 0.9002 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.6712, allocations: 168 kB / 0.9004 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.6744, allocations: 1.941 MB / 0.9023 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.6745, allocations: 0 / 0.9023 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.6746, allocations: 83.98 kB / 0.9023 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.6747, allocations: 40 kB / 0.9024 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.6782, allocations: 2.085 MB / 0.9044 GB, free: 3.418 MB / 0.6231 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.009399/0.6876, allocations: 6.614 MB / 0.9109 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.6911, allocations: 2.103 MB / 0.9129 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.6924, allocations: 0.753 MB / 0.9137 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.693, allocations: 429.6 kB / 0.9141 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00172/0.6947, allocations: 1.017 MB / 0.9151 GB, free: 8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 2.855e-06/0.6948, allocations: 0 / 0.9151 GB, free: 8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.006929/0.7017, allocations: 2.957 MB / 0.9179 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.7019, allocations: 201.2 kB / 0.9181 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.7068, allocations: 4.052 MB / 0.9221 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.707, allocations: 61.69 kB / 0.9222 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007973/0.7078, allocations: 0.8827 MB / 0.923 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.7083, allocations: 485 kB / 0.9235 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.7087, allocations: 238.7 kB / 0.9237 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.7089, allocations: 357.9 kB / 0.9241 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.71, allocations: 0.5765 MB / 0.9246 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.7113, allocations: 0.7891 MB / 0.9254 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.7137, allocations: 1.31 MB / 0.9267 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7137, allocations: 0 / 0.9267 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003959/0.7177, allocations: 1.772 MB / 0.9284 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.7177, allocations: 8 kB / 0.9284 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7177, allocations: 0 / 0.9284 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.7188, allocations: 220.1 kB / 0.9286 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.7203, allocations: 315.6 kB / 0.9289 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006631/0.727, allocations: 7.323 MB / 0.9361 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.7287, allocations: 158.9 kB / 0.9362 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.7289, allocations: 55.95 kB / 0.9363 GB, free: 1.258 MB / 0.6544 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.001085/0.73, allocations: 482.9 kB / 0.9367 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/0.7305, allocations: 189.7 kB / 0.9369 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.7353, allocations: 2.141 MB / 0.939 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.7354, allocations: 16 kB / 0.939 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7354, allocations: 0 / 0.939 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.7354, allocations: 7.969 kB / 0.939 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007593/0.743, allocations: 4.117 MB / 0.943 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.743, allocations: 0 / 0.943 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.7445, allocations: 323.6 kB / 0.9434 GB, free: 9.883 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00091/0.7454, allocations: 208.1 kB / 0.9436 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.7455, allocations: 43.95 kB / 0.9436 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006356/0.7519, allocations: 7.356 MB / 0.9508 GB, free: 1.559 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7519, allocations: 3.984 kB / 0.9508 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004261/0.7562, allocations: 1.995 MB / 0.9527 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/0.7572, allocations: 0.506 MB / 0.9532 GB, free: 15 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.7575, allocations: 36 kB / 0.9533 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.7588, allocations: 97.59 kB / 0.9534 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.759, allocations: 117.1 kB / 0.9535 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.7592, allocations: 75.95 kB / 0.9535 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00345/0.7626, allocations: 3.116 MB / 0.9566 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.3e-07/0.7627, allocations: 0 / 0.9566 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001741/0.7644, allocations: 0.6859 MB / 0.9572 GB, free: 10.88 MB / 0.6856 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.006536/0.7709, allocations: 3.2 MB / 0.9604 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00869/0.7797, allocations: 2.488 MB / 0.9628 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.7797, allocations: 8.562 kB / 0.9628 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.7823, allocations: 1.407 MB / 0.9642 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.7858, allocations: 0.5719 MB / 0.9647 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04565/0.8314, allocations: 22.35 MB / 0.9866 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.833, allocations: 1.526 MB / 0.9881 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00219/0.8352, allocations: 0.5251 MB / 0.9886 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.8366, allocations: 0.9054 MB / 0.9895 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of SimCode: time 3.146e-06/0.8367, allocations: 0 / 0.9895 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/0.9429, allocations: 48.53 MB / 1.037 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.49, allocations: 6.75 kB / 1.037 GB, free: 9.184 MB / 0.7637 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)