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.008117/0.008117, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.002252/0.002252, allocations: 196.3 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002451/0.002451, allocations: 285.2 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9214/0.9214, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 107.8 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.395, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.1805/0.5756, allocations: 167.2 MB / 0.9291 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02136/0.597, allocations: 17.22 MB / 0.946 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.5982, allocations: 31.81 kB / 0.946 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.5996, allocations: 0.5274 MB / 0.9465 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.6039, allocations: 1.684 MB / 0.9482 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.6071, allocations: 1.414 MB / 0.9495 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.6104, allocations: 2.665 MB / 0.9521 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.613, allocations: 1.998 MB / 0.9541 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.6168, allocations: 1.399 MB / 0.9555 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3643/0.9811, allocations: 1.071 MB / 0.9565 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009255/0.9821, allocations: 220.9 kB / 0.9567 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.9861, allocations: 1.548 MB / 0.9582 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009363/0.987, allocations: 0.7975 MB / 0.959 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.9884, allocations: 1.232 MB / 0.9602 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.9938, allocations: 3.678 MB / 0.9638 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9939, allocations: 1.297 kB / 0.9638 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9939, allocations: 0 / 0.9638 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.264e-05/0.9939, allocations: 0.5625 kB / 0.9638 GB, free: 5.711 MB / 0.7169 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.00496/0.9989, allocations: 2.961 MB / 0.9667 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.999, allocations: 9.625 kB / 0.9667 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/0.9992, allocations: 247.4 kB / 0.9669 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/1.003, allocations: 0.5793 MB / 0.9675 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/1.007, allocations: 3.439 MB / 0.9709 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/1.007, allocations: 131.1 kB / 0.971 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/1.007, allocations: 167.6 kB / 0.9711 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002858/1.01, allocations: 1.942 MB / 0.973 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/1.01, allocations: 2.938 kB / 0.973 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.01, allocations: 72.69 kB / 0.9731 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/1.01, allocations: 42.81 kB / 0.9732 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/1.013, allocations: 2.089 MB / 0.9752 GB, free: 3.387 MB / 0.7169 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.007892/1.021, allocations: 6.188 MB / 0.9812 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/1.024, allocations: 2.094 MB / 0.9833 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.025, allocations: 0.7628 MB / 0.984 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/1.025, allocations: 429.2 kB / 0.9844 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/1.027, allocations: 1.006 MB / 0.9854 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/1.027, allocations: 3.188 kB / 0.9854 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005999/1.033, allocations: 2.976 MB / 0.9883 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.033, allocations: 197.5 kB / 0.9885 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.037, allocations: 4.056 MB / 0.9925 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003158/1.037, allocations: 57.2 kB / 0.9925 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/1.038, allocations: 0.8984 MB / 0.9934 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/1.038, allocations: 0.4959 MB / 0.9939 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/1.038, allocations: 236.9 kB / 0.9941 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.038, allocations: 352.6 kB / 0.9945 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/1.039, allocations: 0.5728 MB / 0.995 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/1.04, allocations: 0.7964 MB / 0.9958 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/1.042, allocations: 1.314 MB / 0.9971 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.042, allocations: 0.5625 kB / 0.9971 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003566/1.046, allocations: 1.78 MB / 0.9988 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.046, allocations: 5.812 kB / 0.9988 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.046, allocations: 4.391 kB / 0.9988 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009802/1.047, allocations: 215.1 kB / 0.999 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.048, allocations: 325.2 kB / 0.9993 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/1.054, allocations: 7.319 MB / 1.006 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.056, allocations: 161.7 kB / 1.007 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/1.056, allocations: 52.83 kB / 1.007 GB, free: 7.266 MB / 0.7325 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.0009651/1.057, allocations: 486 kB / 1.007 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/1.058, allocations: 204 kB / 1.007 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/1.062, allocations: 2.132 MB / 1.009 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.062, allocations: 16.25 kB / 1.009 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/1.062, allocations: 3.094 kB / 1.009 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.062, allocations: 9.484 kB / 1.009 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/1.069, allocations: 4.098 MB / 1.013 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.069, allocations: 0 / 1.013 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.07, allocations: 320.3 kB / 1.014 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/1.071, allocations: 203 kB / 1.014 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/1.071, allocations: 45.89 kB / 1.014 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/1.077, allocations: 7.36 MB / 1.021 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.077, allocations: 0.7812 kB / 1.021 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/1.082, allocations: 2.016 MB / 1.023 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.083, allocations: 0.5121 MB / 1.024 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/1.083, allocations: 38.66 kB / 1.024 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.084, allocations: 102.5 kB / 1.024 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002889/1.085, allocations: 113.1 kB / 1.024 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.085, allocations: 73.53 kB / 1.024 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002886/1.088, allocations: 3.119 MB / 1.027 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.71e-07/1.088, allocations: 0 / 1.027 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002116/1.09, allocations: 0.6702 MB / 1.028 GB, free: 14.82 MB / 0.7481 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.00599/1.096, allocations: 3.217 MB / 1.031 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.099, allocations: 2.052 MB / 1.033 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.099, allocations: 4.344 kB / 1.033 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/1.101, allocations: 1.42 MB / 1.034 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/1.104, allocations: 0.5331 MB / 1.035 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/1.139, allocations: 21.08 MB / 1.055 GB, free: 9.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.14, allocations: 1.536 MB / 1.057 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002077/1.143, allocations: 0.5477 MB / 1.057 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.144, allocations: 0.9047 MB / 1.058 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of SimCode: time 6.92e-07/1.144, allocations: 0 / 1.058 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.251, allocations: 48.14 MB / 1.105 GB, free: 7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.59, allocations: 8.453 kB / 1.105 GB, free: 6.992 MB / 0.8106 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)