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.000702/0.000702, allocations: 92.86 kB / 15.7 MB, free: 472 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.0007533/0.0007533, allocations: 173.1 kB / 16.58 MB, free: 6.848 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.154/1.154, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6017/0.6017, allocations: 113.7 MB / 405.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002799, allocations: 9.094 kB / 493.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 77.11 MB / 0.5569 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3548/0.4679, allocations: 151.7 MB / 0.7051 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.4839, allocations: 15.95 MB / 0.7207 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009091/0.4848, allocations: 31.81 kB / 0.7207 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009322/0.4858, allocations: 373.3 kB / 0.721 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.4887, allocations: 1.322 MB / 0.7223 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4911, allocations: 1.112 MB / 0.7234 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.493, allocations: 2.588 MB / 0.7259 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.4944, allocations: 1.5 MB / 0.7274 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.4957, allocations: 1.008 MB / 0.7284 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007906/0.4965, allocations: 0.8477 MB / 0.7292 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4966, allocations: 56 kB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.4982, allocations: 1.01 MB / 0.7303 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.4987, allocations: 0.5917 MB / 0.7308 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.4989, allocations: 412.5 kB / 0.7312 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.5009, allocations: 2.642 MB / 0.7338 GB, free: 5.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5009, allocations: 0 / 0.7338 GB, free: 5.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5009, allocations: 0 / 0.7338 GB, free: 5.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.5009, allocations: 4 kB / 0.7338 GB, free: 5.547 MB / 0.545 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.003165/0.5041, allocations: 2.441 MB / 0.7362 GB, free: 3.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.5041, allocations: 8.031 kB / 0.7362 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.5044, allocations: 248.9 kB / 0.7364 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.5073, allocations: 0.5784 MB / 0.737 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.5103, allocations: 3.329 MB / 0.7403 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.5104, allocations: 131.4 kB / 0.7404 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.5106, allocations: 168 kB / 0.7406 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.5134, allocations: 1.945 MB / 0.7424 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.5134, allocations: 0 / 0.7424 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.5136, allocations: 83.97 kB / 0.7425 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.5136, allocations: 40 kB / 0.7426 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/0.5166, allocations: 2.124 MB / 0.7446 GB, free: 10.29 MB / 0.5606 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.00726/0.5239, allocations: 6.429 MB / 0.7509 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.5267, allocations: 2.128 MB / 0.753 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5278, allocations: 0.7725 MB / 0.7538 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/0.5283, allocations: 429.6 kB / 0.7542 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.5299, allocations: 1.028 MB / 0.7552 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 2.594e-06/0.5299, allocations: 0 / 0.7552 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.005979/0.5359, allocations: 3.024 MB / 0.7581 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.536, allocations: 197.2 kB / 0.7583 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004022/0.5401, allocations: 4.061 MB / 0.7623 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.5402, allocations: 57.7 kB / 0.7623 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.5409, allocations: 0.9062 MB / 0.7632 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.5413, allocations: 481 kB / 0.7637 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.5413, allocations: 24 kB / 0.7637 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5414, allocations: 353.9 kB / 0.764 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009855/0.5424, allocations: 0.5882 MB / 0.7646 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.5436, allocations: 0.8164 MB / 0.7654 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.5446, allocations: 0.6584 MB / 0.766 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5447, allocations: 4 kB / 0.7661 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003207/0.5479, allocations: 1.807 MB / 0.7678 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5479, allocations: 7.938 kB / 0.7678 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.5479, allocations: 4 kB / 0.7678 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008563/0.5488, allocations: 212.2 kB / 0.768 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.5502, allocations: 331.5 kB / 0.7683 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004978/0.5551, allocations: 6.811 MB / 0.775 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5564, allocations: 192.1 kB / 0.7752 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.5565, allocations: 55.97 kB / 0.7752 GB, free: 9.566 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000729/0.5572, allocations: 482.1 kB / 0.7757 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5575, allocations: 193.6 kB / 0.7759 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.5614, allocations: 2.181 MB / 0.778 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5614, allocations: 16 kB / 0.778 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5614, allocations: 7.938 kB / 0.778 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5614, allocations: 7.969 kB / 0.778 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/0.5673, allocations: 4.139 MB / 0.7821 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5673, allocations: 4 kB / 0.7821 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5686, allocations: 323.5 kB / 0.7824 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007635/0.5694, allocations: 220.1 kB / 0.7826 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/0.5695, allocations: 43.97 kB / 0.7826 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.5741, allocations: 6.835 MB / 0.7893 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5741, allocations: 4.031 kB / 0.7893 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.5775, allocations: 2.034 MB / 0.7913 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/0.5782, allocations: 0.5253 MB / 0.7918 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5784, allocations: 27.98 kB / 0.7918 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.5796, allocations: 159.4 kB / 0.792 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.5797, allocations: 121.1 kB / 0.7921 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.5799, allocations: 63.95 kB / 0.7922 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00285/0.5827, allocations: 3.121 MB / 0.7952 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5827, allocations: 0 / 0.7952 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00155/0.5843, allocations: 0.6665 MB / 0.7959 GB, free: 3.578 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005006/0.5893, allocations: 3.226 MB / 0.799 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.5923, allocations: 2.078 MB / 0.8011 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5923, allocations: 8.547 kB / 0.8011 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.5941, allocations: 1.43 MB / 0.8025 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.596, allocations: 0.4976 MB / 0.8029 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/0.6216, allocations: 19.47 MB / 0.822 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.6227, allocations: 1.525 MB / 0.8234 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001786/0.6245, allocations: 0.5288 MB / 0.824 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.6256, allocations: 0.8975 MB / 0.8248 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6256, allocations: 0 / 0.8248 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.8913, allocations: 48.45 MB / 0.8722 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.8915, allocations: 278.2 kB / 0.8724 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.642, allocations: 0 / 0.8724 GB, free: 208.1 MB / 0.6387 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/linux/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) Environment - environmentSimulation: