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.004883/0.004883, 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.001209/0.001209, allocations: 202.2 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 278.7 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 92.38 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1443, allocations: 86.96 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.4631/0.6074, allocations: 167.2 MB / 0.9291 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.6256, allocations: 17.22 MB / 0.946 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.6268, allocations: 31.81 kB / 0.946 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.6281, allocations: 0.5508 MB / 0.9465 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.632, allocations: 1.715 MB / 0.9482 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.635, allocations: 1.433 MB / 0.9496 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002562/0.6376, allocations: 2.65 MB / 0.9522 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.6398, allocations: 2.005 MB / 0.9541 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.6428, allocations: 1.434 MB / 0.9555 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.6439, allocations: 1.074 MB / 0.9566 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.6442, allocations: 224 kB / 0.9568 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.6467, allocations: 1.556 MB / 0.9583 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/0.6473, allocations: 0.7984 MB / 0.9591 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.6483, allocations: 1.236 MB / 0.9603 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.6519, allocations: 3.683 MB / 0.9639 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6519, allocations: 0 / 0.9639 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.652, allocations: 0 / 0.9639 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.944e-05/0.652, allocations: 0 / 0.9639 GB, free: 8.137 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.003951/0.6559, allocations: 2.955 MB / 0.9668 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.656, allocations: 11.97 kB / 0.9668 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.6562, allocations: 248.8 kB / 0.967 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/0.6594, allocations: 0.5798 MB / 0.9676 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.6628, allocations: 3.442 MB / 0.971 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.96e-05/0.6629, allocations: 127.4 kB / 0.9711 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.6631, allocations: 168 kB / 0.9712 GB, free: 492 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.666, allocations: 1.948 MB / 0.9732 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.6661, allocations: 0 / 0.9732 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.6662, allocations: 75.98 kB / 0.9732 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.6663, allocations: 44 kB / 0.9733 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.6694, allocations: 2.085 MB / 0.9753 GB, free: 12.27 MB / 0.7325 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.007523/0.677, allocations: 6.186 MB / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.6799, allocations: 2.095 MB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.6811, allocations: 0.7608 MB / 0.9841 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004981/0.6816, allocations: 425.6 kB / 0.9845 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/0.6831, allocations: 1.009 MB / 0.9855 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.575e-06/0.6832, allocations: 0 / 0.9855 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005923/0.6891, allocations: 2.97 MB / 0.9884 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.6892, allocations: 197.2 kB / 0.9886 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.6932, allocations: 4.06 MB / 0.9926 GB, free: 10 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.6933, allocations: 53.7 kB / 0.9926 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.694, allocations: 0.8958 MB / 0.9935 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.6944, allocations: 0.4957 MB / 0.994 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.6947, allocations: 242.8 kB / 0.9942 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6949, allocations: 357.9 kB / 0.9946 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009877/0.6959, allocations: 0.5648 MB / 0.9951 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.6971, allocations: 0.8028 MB / 0.9959 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.6992, allocations: 1.306 MB / 0.9972 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6992, allocations: 0 / 0.9972 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003578/0.7028, allocations: 1.784 MB / 0.9989 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7028, allocations: 5.719 kB / 0.9989 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.7029, allocations: 3.984 kB / 0.9989 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009833/0.7038, allocations: 216.2 kB / 0.9991 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.7052, allocations: 331.5 kB / 0.9994 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/0.7108, allocations: 7.31 MB / 1.007 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.7121, allocations: 167.1 kB / 1.007 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.7122, allocations: 47.97 kB / 1.007 GB, free: 10.6 MB / 0.7637 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.0008067/0.713, allocations: 498 kB / 1.007 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.7133, allocations: 198.7 kB / 1.007 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/0.7173, allocations: 2.138 MB / 1.01 GB, free: 7.742 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.7174, allocations: 16 kB / 1.01 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.7174, allocations: 7.938 kB / 1.01 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.7174, allocations: 11.97 kB / 1.01 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005999/0.7234, allocations: 4.107 MB / 1.014 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.7234, allocations: 0 / 1.014 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.7247, allocations: 315.6 kB / 1.014 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008076/0.7255, allocations: 204.1 kB / 1.014 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.7256, allocations: 39.97 kB / 1.014 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005191/0.7308, allocations: 7.359 MB / 1.021 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7309, allocations: 0 / 1.021 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/0.7345, allocations: 2.006 MB / 1.023 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/0.7353, allocations: 0.5187 MB / 1.024 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.7356, allocations: 28 kB / 1.024 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.7369, allocations: 107.9 kB / 1.024 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.7371, allocations: 113.1 kB / 1.024 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.7372, allocations: 71.94 kB / 1.024 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003096/0.7403, allocations: 3.12 MB / 1.027 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7404, allocations: 3.938 kB / 1.027 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001579/0.7419, allocations: 0.6703 MB / 1.028 GB, free: 4.207 MB / 0.7794 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.0055/0.7474, allocations: 3.218 MB / 1.031 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003179/0.7506, allocations: 2.051 MB / 1.033 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7507, allocations: 8.5 kB / 1.033 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.7526, allocations: 1.426 MB / 1.034 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7548, allocations: 0.5391 MB / 1.035 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/0.7837, allocations: 20.93 MB / 1.055 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.785, allocations: 1.537 MB / 1.057 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001666/0.7867, allocations: 0.5403 MB / 1.057 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.7879, allocations: 0.8976 MB / 1.058 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of SimCode: time 1.703e-06/0.7879, allocations: 0 / 1.058 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3919/1.18, allocations: 48.14 MB / 1.105 GB, free: 284.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.06, allocations: 5.109 kB / 1.105 GB, free: 284.3 MB / 0.8419 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)