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.001288/0.001288, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001992/0.001992, allocations: 281.6 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8853/0.8853, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 94.38 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1266, allocations: 86.99 MB / 0.6803 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3952/0.5219, allocations: 167.2 MB / 0.8436 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.5396, allocations: 17.22 MB / 0.8604 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.5408, allocations: 40.28 kB / 0.8604 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.542, allocations: 0.5254 MB / 0.8609 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.5458, allocations: 1.687 MB / 0.8626 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.5486, allocations: 1.415 MB / 0.864 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.5508, allocations: 2.67 MB / 0.8666 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.5529, allocations: 1.999 MB / 0.8685 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.5558, allocations: 1.381 MB / 0.8699 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.5569, allocations: 1.101 MB / 0.8709 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002537/0.5571, allocations: 221.2 kB / 0.8711 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.5597, allocations: 1.517 MB / 0.8726 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006134/0.5603, allocations: 0.805 MB / 0.8734 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.5613, allocations: 1.233 MB / 0.8746 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.5648, allocations: 3.61 MB / 0.8781 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5648, allocations: 0 / 0.8781 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5648, allocations: 0 / 0.8781 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.5648, allocations: 2.812 kB / 0.8781 GB, free: 8.973 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.004142/0.569, allocations: 2.898 MB / 0.881 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.569, allocations: 10.16 kB / 0.881 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.5693, allocations: 248.8 kB / 0.8812 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.5727, allocations: 0.5706 MB / 0.8818 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.5759, allocations: 3.394 MB / 0.8851 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.576, allocations: 129.9 kB / 0.8852 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5761, allocations: 169.4 kB / 0.8854 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.5791, allocations: 1.953 MB / 0.8873 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5791, allocations: 0 / 0.8873 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.5793, allocations: 76 kB / 0.8874 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.5793, allocations: 43.94 kB / 0.8874 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.5828, allocations: 2.12 MB / 0.8895 GB, free: 0.8672 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.00901/0.5918, allocations: 6.401 MB / 0.8957 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.5952, allocations: 2.13 MB / 0.8978 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.5965, allocations: 0.7725 MB / 0.8986 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.5971, allocations: 429.6 kB / 0.899 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.5988, allocations: 1.017 MB / 0.9 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.218e-06/0.5988, allocations: 0 / 0.9 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006843/0.6056, allocations: 2.996 MB / 0.9029 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.6057, allocations: 197.2 kB / 0.9031 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004028/0.6098, allocations: 4.069 MB / 0.9071 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.6099, allocations: 65.7 kB / 0.9071 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/0.6106, allocations: 0.8945 MB / 0.908 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.611, allocations: 480.9 kB / 0.9084 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.6114, allocations: 242.8 kB / 0.9087 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6115, allocations: 357.9 kB / 0.909 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.6126, allocations: 0.5843 MB / 0.9096 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.6139, allocations: 0.8016 MB / 0.9104 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.6163, allocations: 1.337 MB / 0.9117 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6163, allocations: 0 / 0.9117 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003852/0.6202, allocations: 1.803 MB / 0.9134 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6202, allocations: 4 kB / 0.9134 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6202, allocations: 0 / 0.9134 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.6213, allocations: 216.1 kB / 0.9136 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.6229, allocations: 331.6 kB / 0.914 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/0.6288, allocations: 7.32 MB / 0.9211 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6302, allocations: 166.9 kB / 0.9213 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.6304, allocations: 51.97 kB / 0.9213 GB, free: 14.82 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 (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.000898/0.6313, allocations: 494 kB / 0.9218 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.6317, allocations: 193.6 kB / 0.922 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.6364, allocations: 2.161 MB / 0.9241 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.6364, allocations: 16 kB / 0.9241 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6364, allocations: 0 / 0.9241 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.6364, allocations: 11.97 kB / 0.9241 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/0.6432, allocations: 4.14 MB / 0.9282 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6432, allocations: 3.984 kB / 0.9282 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.6447, allocations: 323.5 kB / 0.9285 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.6456, allocations: 200.1 kB / 0.9287 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.6457, allocations: 43.95 kB / 0.9287 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005884/0.6516, allocations: 7.367 MB / 0.9359 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6516, allocations: 0 / 0.9359 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.6559, allocations: 2.018 MB / 0.9379 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.6569, allocations: 0.5175 MB / 0.9384 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.6573, allocations: 31.98 kB / 0.9384 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.6587, allocations: 109.5 kB / 0.9385 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.659, allocations: 113.2 kB / 0.9386 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.6592, allocations: 67.94 kB / 0.9387 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003271/0.6624, allocations: 3.132 MB / 0.9417 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6624, allocations: 0 / 0.9417 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001736/0.6642, allocations: 0.6625 MB / 0.9424 GB, free: 8.363 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.005898/0.6701, allocations: 3.234 MB / 0.9455 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005162/0.6753, allocations: 2.508 MB / 0.948 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.6753, allocations: 8.547 kB / 0.948 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.6774, allocations: 1.422 MB / 0.9494 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.6799, allocations: 0.5458 MB / 0.9499 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03235/0.7122, allocations: 22.73 MB / 0.9721 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.7138, allocations: 1.537 MB / 0.9736 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00209/0.7159, allocations: 0.5286 MB / 0.9741 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.7172, allocations: 0.8975 MB / 0.975 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of SimCode: time 6.32e-07/0.7172, allocations: 0 / 0.975 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09707/0.8143, allocations: 48.11 MB / 1.022 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/18.43, allocations: 7.609 kB / 1.022 GB, free: 6.633 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)