Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",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.001044/0.001044, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001068/0.001068, allocations: 192.4 kB / 16.25 MB, free: 6.617 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.263/1.263, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 286.8 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 90.17 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1269, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3819/0.5088, allocations: 164.9 MB / 0.8408 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.5259, allocations: 17.04 MB / 0.8574 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.5273, allocations: 27.44 kB / 0.8574 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.5287, allocations: 463.6 kB / 0.8579 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.5331, allocations: 1.536 MB / 0.8594 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.536, allocations: 1.295 MB / 0.8607 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.5383, allocations: 2.679 MB / 0.8633 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.5402, allocations: 2.007 MB / 0.8652 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00414/0.5444, allocations: 1.402 MB / 0.8666 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.5454, allocations: 1.132 MB / 0.8677 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.5456, allocations: 220.8 kB / 0.8679 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.5479, allocations: 1.561 MB / 0.8694 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005396/0.5485, allocations: 0.8034 MB / 0.8702 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000916/0.5494, allocations: 1.24 MB / 0.8714 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.5526, allocations: 3.664 MB / 0.875 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5526, allocations: 0 / 0.875 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5526, allocations: 0 / 0.875 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.5527, allocations: 0 / 0.875 GB, free: 11.72 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004074/0.5567, allocations: 2.894 MB / 0.8778 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.5568, allocations: 14.31 kB / 0.8779 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/0.5571, allocations: 253 kB / 0.8781 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.5606, allocations: 0.5648 MB / 0.8786 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.5637, allocations: 3.392 MB / 0.882 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.5638, allocations: 129.7 kB / 0.8821 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.564, allocations: 171.8 kB / 0.8822 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.567, allocations: 1.958 MB / 0.8842 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.567, allocations: 0 / 0.8842 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.5672, allocations: 75.81 kB / 0.8842 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.5672, allocations: 44.78 kB / 0.8843 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.5705, allocations: 2.114 MB / 0.8863 GB, free: 4.113 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.008293/0.5788, allocations: 6.379 MB / 0.8926 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.582, allocations: 2.122 MB / 0.8946 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.5832, allocations: 0.7732 MB / 0.8954 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.5838, allocations: 433.5 kB / 0.8958 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.5855, allocations: 1.013 MB / 0.8968 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.675e-06/0.5855, allocations: 0 / 0.8968 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006504/0.592, allocations: 2.989 MB / 0.8997 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5921, allocations: 213.1 kB / 0.8999 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004105/0.5962, allocations: 4.069 MB / 0.9039 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.5964, allocations: 57.7 kB / 0.9039 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/0.597, allocations: 0.9062 MB / 0.9048 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.5975, allocations: 477 kB / 0.9053 GB, free: 96 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003867/0.5978, allocations: 242.8 kB / 0.9055 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.598, allocations: 353.9 kB / 0.9059 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.5991, allocations: 0.5843 MB / 0.9064 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.6004, allocations: 0.8047 MB / 0.9072 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.6027, allocations: 1.333 MB / 0.9085 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6027, allocations: 0 / 0.9085 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003687/0.6064, allocations: 1.807 MB / 0.9103 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6064, allocations: 8 kB / 0.9103 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6064, allocations: 3.938 kB / 0.9103 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6075, allocations: 212.1 kB / 0.9105 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.609, allocations: 323.6 kB / 0.9108 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.6146, allocations: 7.335 MB / 0.918 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.616, allocations: 174.9 kB / 0.9181 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.6161, allocations: 47.97 kB / 0.9182 GB, free: 2.062 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 (145): * Single equations (assignments): 140 * 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.0007779/0.6169, allocations: 491.2 kB / 0.9186 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.6172, allocations: 197.6 kB / 0.9188 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/0.6215, allocations: 2.165 MB / 0.9209 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6215, allocations: 16 kB / 0.921 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6216, allocations: 0 / 0.921 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.6216, allocations: 11.97 kB / 0.921 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006242/0.6278, allocations: 4.143 MB / 0.925 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6278, allocations: 0 / 0.925 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.6293, allocations: 323.5 kB / 0.9253 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008585/0.6302, allocations: 204.1 kB / 0.9255 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.563e-05/0.6303, allocations: 47.91 kB / 0.9256 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.6359, allocations: 7.366 MB / 0.9328 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6359, allocations: 0 / 0.9328 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.6396, allocations: 2.01 MB / 0.9347 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.6404, allocations: 0.5138 MB / 0.9352 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6406, allocations: 36 kB / 0.9353 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.6419, allocations: 124.5 kB / 0.9354 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.6422, allocations: 121.1 kB / 0.9355 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.6423, allocations: 67.95 kB / 0.9356 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002866/0.6452, allocations: 3.128 MB / 0.9386 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6452, allocations: 0 / 0.9386 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001516/0.6467, allocations: 0.6702 MB / 0.9393 GB, free: 11.58 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.005479/0.6522, allocations: 3.233 MB / 0.9424 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005026/0.6572, allocations: 2.508 MB / 0.9449 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.6573, allocations: 8.547 kB / 0.9449 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.6592, allocations: 1.426 MB / 0.9463 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.6614, allocations: 0.5373 MB / 0.9468 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/0.693, allocations: 23.51 MB / 0.9698 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.6941, allocations: 1.537 MB / 0.9713 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001813/0.6959, allocations: 0.5248 MB / 0.9718 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.697, allocations: 0.8975 MB / 0.9726 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.697, allocations: 0 / 0.9726 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07687/0.7739, allocations: 47.84 MB / 1.019 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.7741, allocations: 304.2 kB / 1.02 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.785, allocations: 0 / 1.02 GB, free: 9.02 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)