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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001192, allocations: 195.4 kB / 16.14 MB, free: 6.707 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.001899, allocations: 276.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.842/0.842, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 90.09 kB / 0.5946 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.123, allocations: 86.99 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.3784/0.5014, allocations: 164.8 MB / 0.8405 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.5174, allocations: 17.26 MB / 0.8574 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/0.5184, allocations: 27.91 kB / 0.8574 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5195, allocations: 468 kB / 0.8578 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.5228, allocations: 1.499 MB / 0.8593 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.5253, allocations: 1.271 MB / 0.8605 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.5273, allocations: 2.884 MB / 0.8634 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.529, allocations: 1.858 MB / 0.8652 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.5328, allocations: 1.233 MB / 0.8664 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008796/0.5336, allocations: 1.063 MB / 0.8674 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.5339, allocations: 118.3 kB / 0.8675 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.5362, allocations: 1.576 MB / 0.8691 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004971/0.5367, allocations: 0.705 MB / 0.8698 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008673/0.5376, allocations: 1.136 MB / 0.8709 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.5407, allocations: 3.549 MB / 0.8743 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5407, allocations: 6.5 kB / 0.8743 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5407, allocations: 0 / 0.8743 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.5408, allocations: 0 / 0.8743 GB, free: 11.97 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.00403/0.5448, allocations: 2.885 MB / 0.8772 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5449, allocations: 9.844 kB / 0.8772 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.5451, allocations: 242.8 kB / 0.8774 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.5485, allocations: 0.5704 MB / 0.878 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.5516, allocations: 3.388 MB / 0.8813 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.5517, allocations: 128.2 kB / 0.8814 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.5519, allocations: 173.2 kB / 0.8815 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.5547, allocations: 1.946 MB / 0.8835 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.5547, allocations: 0 / 0.8835 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.5549, allocations: 75.81 kB / 0.8835 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5549, allocations: 40.97 kB / 0.8836 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.5579, allocations: 2.088 MB / 0.8856 GB, free: 4.82 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.007722/0.5657, allocations: 6.218 MB / 0.8917 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.5687, allocations: 2.091 MB / 0.8937 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.5699, allocations: 0.7569 MB / 0.8945 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/0.5705, allocations: 437.6 kB / 0.8949 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/0.5721, allocations: 1.005 MB / 0.8959 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.725e-06/0.5721, allocations: 3.938 kB / 0.8959 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.00635/0.5785, allocations: 2.961 MB / 0.8987 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.5786, allocations: 201.2 kB / 0.8989 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/0.5828, allocations: 4.049 MB / 0.9029 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.583, allocations: 61.7 kB / 0.903 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/0.5837, allocations: 0.8866 MB / 0.9038 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.5841, allocations: 481 kB / 0.9043 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.5844, allocations: 242.8 kB / 0.9045 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5845, allocations: 353.9 kB / 0.9048 GB, free: 496 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.5856, allocations: 0.5726 MB / 0.9054 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.5868, allocations: 0.7969 MB / 0.9062 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.5889, allocations: 1.306 MB / 0.9075 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5889, allocations: 4 kB / 0.9075 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003602/0.5925, allocations: 1.768 MB / 0.9092 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5926, allocations: 4 kB / 0.9092 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.5926, allocations: 0 / 0.9092 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.5937, allocations: 212.2 kB / 0.9094 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.5951, allocations: 331.5 kB / 0.9097 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/0.601, allocations: 6.795 MB / 0.9163 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.6027, allocations: 170.9 kB / 0.9165 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6028, allocations: 51.89 kB / 0.9166 GB, free: 3.699 MB / 0.6231 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.0009055/0.6037, allocations: 0.4902 MB / 0.917 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.6041, allocations: 185.8 kB / 0.9172 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.6084, allocations: 2.145 MB / 0.9193 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.6084, allocations: 16 kB / 0.9193 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6084, allocations: 0 / 0.9193 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.6085, allocations: 11.97 kB / 0.9193 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.6147, allocations: 4.11 MB / 0.9234 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6147, allocations: 3.938 kB / 0.9234 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.6161, allocations: 319.6 kB / 0.9237 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008886/0.617, allocations: 216.1 kB / 0.9239 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.6171, allocations: 39.97 kB / 0.9239 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005813/0.623, allocations: 6.831 MB / 0.9306 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.623, allocations: 4.031 kB / 0.9306 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/0.6269, allocations: 1.999 MB / 0.9325 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.6277, allocations: 0.506 MB / 0.933 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.628, allocations: 31.94 kB / 0.9331 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6292, allocations: 127.1 kB / 0.9332 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.6295, allocations: 117.1 kB / 0.9333 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.6296, allocations: 71.95 kB / 0.9334 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003109/0.6327, allocations: 3.116 MB / 0.9364 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6327, allocations: 4 kB / 0.9364 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001698/0.6344, allocations: 0.6625 MB / 0.9371 GB, free: 13.86 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.005559/0.64, allocations: 3.204 MB / 0.9402 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.6433, allocations: 2.047 MB / 0.9422 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6433, allocations: 0.5625 kB / 0.9422 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.6452, allocations: 1.411 MB / 0.9436 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.6475, allocations: 0.5027 MB / 0.944 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/0.6775, allocations: 23.24 MB / 0.9667 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.6786, allocations: 1.525 MB / 0.9682 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001804/0.6804, allocations: 0.5364 MB / 0.9688 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.6815, allocations: 0.9053 MB / 0.9696 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of SimCode: time 4.01e-07/0.6815, allocations: 0 / 0.9696 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.124/3.806, allocations: 46.31 MB / 1.015 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/3.806, allocations: 295.8 kB / 1.015 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/7.118, allocations: 3.938 kB / 1.015 GB, free: 13.56 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)