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.005126/0.005126, allocations: 103 kB / 15.88 MB, free: 6.32 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.00136/0.00136, allocations: 200.5 kB / 16.79 MB, free: 6.246 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.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6439/0.6439, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 68.77 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3651/0.4884, allocations: 166.1 MB / 0.718 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.5082, allocations: 17.4 MB / 0.735 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.5095, allocations: 27.81 kB / 0.735 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.5113, allocations: 489 kB / 0.7355 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.5156, allocations: 1.591 MB / 0.7371 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.5187, allocations: 1.275 MB / 0.7383 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003124/0.5218, allocations: 3.106 MB / 0.7413 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.5241, allocations: 1.811 MB / 0.7431 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004542/0.5286, allocations: 1.271 MB / 0.7444 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.5297, allocations: 1.093 MB / 0.7454 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.53, allocations: 116 kB / 0.7455 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.5326, allocations: 1.591 MB / 0.7471 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005435/0.5332, allocations: 0.7046 MB / 0.7478 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.5342, allocations: 1.169 MB / 0.7489 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.5376, allocations: 3.641 MB / 0.7525 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5376, allocations: 0 / 0.7525 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.82e-07/0.5376, allocations: 0 / 0.7525 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.5376, allocations: 0 / 0.7525 GB, free: 13.64 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.00432/0.5419, allocations: 2.926 MB / 0.7553 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.542, allocations: 8.031 kB / 0.7553 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002721/0.5423, allocations: 252.8 kB / 0.7556 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.5458, allocations: 0.5706 MB / 0.7561 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.5492, allocations: 3.394 MB / 0.7594 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/0.5493, allocations: 131.3 kB / 0.7596 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.5495, allocations: 168 kB / 0.7597 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.5526, allocations: 1.961 MB / 0.7616 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5526, allocations: 0 / 0.7616 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.5528, allocations: 76 kB / 0.7617 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.5528, allocations: 40 kB / 0.7618 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.5561, allocations: 2.109 MB / 0.7638 GB, free: 1.836 MB / 0.5762 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.008675/0.5648, allocations: 6.765 MB / 0.7704 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.568, allocations: 2.129 MB / 0.7725 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.5692, allocations: 0.7764 MB / 0.7733 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005655/0.5698, allocations: 429.6 kB / 0.7737 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.5715, allocations: 1.009 MB / 0.7747 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.176e-06/0.5715, allocations: 0 / 0.7747 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006515/0.578, allocations: 2.996 MB / 0.7776 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5781, allocations: 201.2 kB / 0.7778 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004478/0.5826, allocations: 4.073 MB / 0.7817 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.5828, allocations: 57.7 kB / 0.7818 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007314/0.5835, allocations: 0.91 MB / 0.7827 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.5839, allocations: 485 kB / 0.7832 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003966/0.5843, allocations: 238.8 kB / 0.7834 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5844, allocations: 357.9 kB / 0.7837 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.5856, allocations: 0.5843 MB / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.5869, allocations: 0.8073 MB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.5892, allocations: 1.337 MB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5892, allocations: 0 / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003891/0.5931, allocations: 1.799 MB / 0.7881 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5932, allocations: 8 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.5932, allocations: 3.984 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5942, allocations: 212.1 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5958, allocations: 327.6 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005494/0.6013, allocations: 6.823 MB / 0.7953 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6029, allocations: 190.7 kB / 0.7955 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.603, allocations: 47.97 kB / 0.7956 GB, free: 15.84 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.0008918/0.6039, allocations: 487 kB / 0.796 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.6044, allocations: 197.6 kB / 0.7962 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.6089, allocations: 2.157 MB / 0.7983 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6089, allocations: 16 kB / 0.7983 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.6089, allocations: 4 kB / 0.7983 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.609, allocations: 7.969 kB / 0.7983 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/0.6159, allocations: 4.135 MB / 0.8024 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6159, allocations: 4 kB / 0.8024 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.6174, allocations: 319.5 kB / 0.8027 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009033/0.6183, allocations: 216 kB / 0.8029 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.6184, allocations: 39.97 kB / 0.8029 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/0.6236, allocations: 6.831 MB / 0.8096 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6236, allocations: 0 / 0.8096 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.6274, allocations: 2.018 MB / 0.8116 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/0.6283, allocations: 0.5139 MB / 0.8121 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.6285, allocations: 36.05 kB / 0.8121 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.63, allocations: 139.7 kB / 0.8123 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.6302, allocations: 117.1 kB / 0.8124 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.6304, allocations: 75.89 kB / 0.8124 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003009/0.6334, allocations: 3.132 MB / 0.8155 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6334, allocations: 0 / 0.8155 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001629/0.635, allocations: 0.6898 MB / 0.8162 GB, free: 9.875 MB / 0.6387 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.005585/0.6406, allocations: 3.228 MB / 0.8193 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003279/0.6439, allocations: 2.066 MB / 0.8213 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6439, allocations: 8.609 kB / 0.8213 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.6459, allocations: 1.422 MB / 0.8227 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.648, allocations: 0.5217 MB / 0.8232 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2705/0.9185, allocations: 23.4 MB / 0.8461 GB, free: 105.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.9196, allocations: 1.534 MB / 0.8476 GB, free: 105 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001869/0.9215, allocations: 0.5244 MB / 0.8481 GB, free: 105 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.9226, allocations: 0.9008 MB / 0.849 GB, free: 105 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/0.9226, allocations: 0 / 0.849 GB, free: 105 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.531/5.454, allocations: 47.4 MB / 0.8953 GB, free: 71.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/5.454, allocations: 291.3 kB / 0.8956 GB, free: 71.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.718/9.172, allocations: 0 / 0.8956 GB, free: 71.41 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/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)