Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_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.001099/0.001099, allocations: 104.7 kB / 16.27 MB, free: 5.984 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.001134/0.001134, allocations: 191.9 kB / 17.2 MB, free: 5.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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.744/0.744, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3161, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1673/0.4835, allocations: 168.4 MB / 0.7318 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.5044, allocations: 17.34 MB / 0.7487 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.5057, allocations: 31.81 kB / 0.7487 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.2986/0.8043, allocations: 0.5697 MB / 0.7493 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/0.8096, allocations: 1.781 MB / 0.751 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.8133, allocations: 1.427 MB / 0.7524 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004191/0.8176, allocations: 2.875 MB / 0.7552 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.821, allocations: 1.941 MB / 0.7571 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004279/0.8253, allocations: 1.423 MB / 0.7585 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.8275, allocations: 1.123 MB / 0.7596 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007622/0.8283, allocations: 221.7 kB / 0.7598 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.8322, allocations: 1.523 MB / 0.7613 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.8334, allocations: 0.8017 MB / 0.7621 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002762/0.8362, allocations: 1.281 MB / 0.7633 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.8419, allocations: 3.666 MB / 0.7669 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8419, allocations: 0.7812 kB / 0.7669 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.624e-06/0.8419, allocations: 0 / 0.7669 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001244/0.8421, allocations: 0.7188 kB / 0.7669 GB, free: 1.18 MB / 0.5762 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.007911/0.85, allocations: 2.928 MB / 0.7698 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.85, allocations: 10.16 kB / 0.7698 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005491/0.8506, allocations: 245.2 kB / 0.77 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.855, allocations: 0.5688 MB / 0.7706 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.8596, allocations: 3.391 MB / 0.7739 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-05/0.8597, allocations: 131.9 kB / 0.774 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.8599, allocations: 166.6 kB / 0.7742 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.8633, allocations: 1.961 MB / 0.7761 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.8634, allocations: 0.7812 kB / 0.7761 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.8636, allocations: 74.81 kB / 0.7762 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.8636, allocations: 42.56 kB / 0.7762 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.8671, allocations: 2.114 MB / 0.7783 GB, free: 14.92 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.01128/0.8784, allocations: 6.787 MB / 0.7849 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/0.8818, allocations: 2.131 MB / 0.787 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.8831, allocations: 0.7719 MB / 0.7877 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/0.8836, allocations: 430.3 kB / 0.7881 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.8852, allocations: 1.019 MB / 0.7891 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.956e-06/0.8853, allocations: 0 / 0.7891 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006699/0.892, allocations: 3.003 MB / 0.7921 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.8921, allocations: 203.1 kB / 0.7923 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.8962, allocations: 4.072 MB / 0.7962 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.8965, allocations: 58.98 kB / 0.7963 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.8972, allocations: 0.9061 MB / 0.7972 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.8976, allocations: 480.9 kB / 0.7976 GB, free: 10 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.898, allocations: 241.4 kB / 0.7979 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8982, allocations: 350.9 kB / 0.7982 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.8993, allocations: 0.5827 MB / 0.7988 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.9006, allocations: 0.8146 MB / 0.7996 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.903, allocations: 1.334 MB / 0.8009 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.903, allocations: 0 / 0.8009 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004068/0.9071, allocations: 1.797 MB / 0.8026 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9071, allocations: 5.906 kB / 0.8026 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.9072, allocations: 3.562 kB / 0.8026 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.9082, allocations: 211.6 kB / 0.8028 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.9097, allocations: 331 kB / 0.8031 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.9152, allocations: 7.326 MB / 0.8103 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.917, allocations: 165.3 kB / 0.8105 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.9172, allocations: 49.56 kB / 0.8105 GB, free: 2.355 MB / 0.5919 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.0009492/0.9181, allocations: 0.491 MB / 0.811 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.9185, allocations: 188.6 kB / 0.8112 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.9228, allocations: 2.167 MB / 0.8133 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9228, allocations: 16.47 kB / 0.8133 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.9229, allocations: 5.141 kB / 0.8133 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.9229, allocations: 8.359 kB / 0.8133 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.9296, allocations: 4.127 MB / 0.8173 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9296, allocations: 0 / 0.8173 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.9311, allocations: 326.6 kB / 0.8176 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008785/0.932, allocations: 201.9 kB / 0.8178 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/0.9321, allocations: 44.94 kB / 0.8179 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005621/0.9377, allocations: 7.349 MB / 0.8251 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9377, allocations: 0 / 0.8251 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/0.9424, allocations: 2.019 MB / 0.827 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.9437, allocations: 0.5147 MB / 0.8275 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/0.9442, allocations: 28 kB / 0.8276 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.9458, allocations: 111.8 kB / 0.8277 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.9461, allocations: 113.2 kB / 0.8278 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.9463, allocations: 75.88 kB / 0.8278 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003962/0.9503, allocations: 3.133 MB / 0.8309 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9503, allocations: 0 / 0.8309 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002994/0.9533, allocations: 0.6942 MB / 0.8316 GB, free: 0.6562 MB / 0.6075 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.006732/0.9601, allocations: 3.229 MB / 0.8347 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005275/0.9654, allocations: 2.511 MB / 0.8372 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.9654, allocations: 0.5625 kB / 0.8372 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.9675, allocations: 1.423 MB / 0.8386 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.9703, allocations: 0.554 MB / 0.8391 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/1.001, allocations: 22.63 MB / 0.8612 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.002, allocations: 1.546 MB / 0.8627 GB, free: 200 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002153/1.005, allocations: 0.533 MB / 0.8632 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.006, allocations: 0.8975 MB / 0.8641 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of SimCode: time 7.42e-07/1.006, allocations: 0 / 0.8641 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.136, allocations: 48.87 MB / 0.9119 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.64, allocations: 8.188 kB / 0.9119 GB, free: 14.52 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)