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.0008533/0.0008559, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00488/0.00488, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 270.5 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8566/0.8566, allocations: 169.5 MB / 0.5004 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 15.22 kB / 0.5988 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.407/0.5384, allocations: 162.6 MB / 0.8441 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.5558, allocations: 17.02 MB / 0.8607 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.5567, allocations: 25.84 kB / 0.8607 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5577, allocations: 454.2 kB / 0.8611 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.5609, allocations: 1.505 MB / 0.8626 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.5634, allocations: 1.262 MB / 0.8638 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.5657, allocations: 2.888 MB / 0.8667 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.5675, allocations: 1.731 MB / 0.8684 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/0.5713, allocations: 1.073 MB / 0.8694 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008348/0.5721, allocations: 0.8714 MB / 0.8703 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.5722, allocations: 48.81 kB / 0.8703 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.5745, allocations: 1.51 MB / 0.8718 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.5749, allocations: 0.5955 MB / 0.8724 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007386/0.5757, allocations: 1.014 MB / 0.8733 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.5785, allocations: 3.454 MB / 0.8767 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5785, allocations: 3.938 kB / 0.8767 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5785, allocations: 0 / 0.8767 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.5786, allocations: 0 / 0.8767 GB, free: 11.45 MB / 0.5919 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.003426/0.582, allocations: 2.394 MB / 0.8791 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.582, allocations: 12.03 kB / 0.8791 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002537/0.5823, allocations: 248.9 kB / 0.8793 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.5855, allocations: 0.5706 MB / 0.8799 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.5888, allocations: 3.386 MB / 0.8832 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/0.5889, allocations: 139.3 kB / 0.8833 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5891, allocations: 168 kB / 0.8835 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.592, allocations: 1.944 MB / 0.8854 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.592, allocations: 0 / 0.8854 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.5922, allocations: 76 kB / 0.8854 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.5922, allocations: 43.94 kB / 0.8855 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.5953, allocations: 2.101 MB / 0.8875 GB, free: 0.4922 MB / 0.5919 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.007525/0.6029, allocations: 6.252 MB / 0.8936 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.6059, allocations: 2.099 MB / 0.8957 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.6071, allocations: 0.7686 MB / 0.8964 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/0.6076, allocations: 421.6 kB / 0.8968 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.6091, allocations: 1.017 MB / 0.8978 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.585e-06/0.6091, allocations: 0 / 0.8978 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.00595/0.6151, allocations: 2.989 MB / 0.9008 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.6152, allocations: 193.2 kB / 0.9009 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.6191, allocations: 4.06 MB / 0.9049 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.6192, allocations: 53.7 kB / 0.905 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/0.6198, allocations: 0.8828 MB / 0.9058 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.6202, allocations: 492.8 kB / 0.9063 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.6203, allocations: 97.67 kB / 0.9064 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6205, allocations: 357.9 kB / 0.9067 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.6215, allocations: 0.5765 MB / 0.9073 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.6226, allocations: 0.793 MB / 0.9081 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.6248, allocations: 1.325 MB / 0.9093 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6248, allocations: 0 / 0.9093 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003299/0.6281, allocations: 1.779 MB / 0.9111 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6281, allocations: 8 kB / 0.9111 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6281, allocations: 0 / 0.9111 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/0.6291, allocations: 212.2 kB / 0.9113 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.6305, allocations: 331.5 kB / 0.9116 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/0.6355, allocations: 6.807 MB / 0.9183 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.6368, allocations: 179.6 kB / 0.9184 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.6369, allocations: 55.91 kB / 0.9185 GB, free: 15.38 MB / 0.6387 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.0007077/0.6376, allocations: 497.6 kB / 0.919 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.6378, allocations: 189.7 kB / 0.9191 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.642, allocations: 2.149 MB / 0.9212 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.642, allocations: 16 kB / 0.9213 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.642, allocations: 4.094 kB / 0.9213 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.642, allocations: 11.95 kB / 0.9213 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.648, allocations: 4.122 MB / 0.9253 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.648, allocations: 0 / 0.9253 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.6493, allocations: 311.6 kB / 0.9256 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009111/0.6502, allocations: 228 kB / 0.9258 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/0.6503, allocations: 39.97 kB / 0.9258 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.6552, allocations: 6.839 MB / 0.9325 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6552, allocations: 0 / 0.9325 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.6587, allocations: 2.018 MB / 0.9345 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/0.6594, allocations: 0.5138 MB / 0.935 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.6596, allocations: 39.92 kB / 0.935 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6609, allocations: 148.5 kB / 0.9352 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.6611, allocations: 117.1 kB / 0.9353 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.6612, allocations: 67.95 kB / 0.9354 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002846/0.6641, allocations: 3.12 MB / 0.9384 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6641, allocations: 0 / 0.9384 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001389/0.6655, allocations: 0.6548 MB / 0.939 GB, free: 9.469 MB / 0.6544 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.005152/0.6706, allocations: 3.225 MB / 0.9422 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002888/0.6735, allocations: 2.043 MB / 0.9442 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6735, allocations: 8.562 kB / 0.9442 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.6754, allocations: 1.414 MB / 0.9456 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.6774, allocations: 0.4964 MB / 0.9461 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/0.707, allocations: 23.31 MB / 0.9688 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.708, allocations: 1.529 MB / 0.9703 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00169/0.7097, allocations: 0.5403 MB / 0.9708 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.7108, allocations: 0.8976 MB / 0.9717 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.7108, allocations: 0 / 0.9717 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.411/2.122, allocations: 45.32 MB / 1.016 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/2.122, allocations: 287.2 kB / 1.016 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/5.235, allocations: 0 / 1.016 GB, free: 10.07 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)