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.00126/0.00126, allocations: 110.5 kB / 16.41 MB, free: 6.492 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.001691/0.001691, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6975/0.6975, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.12 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1584, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5449/0.7033, allocations: 168.4 MB / 0.796 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.7244, allocations: 17.36 MB / 0.813 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.7272, allocations: 31.34 kB / 0.813 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.7293, allocations: 0.5857 MB / 0.8136 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.7357, allocations: 1.816 MB / 0.8154 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.7398, allocations: 1.446 MB / 0.8168 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004667/0.7445, allocations: 2.903 MB / 0.8196 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002747/0.7473, allocations: 1.938 MB / 0.8215 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.7515, allocations: 1.481 MB / 0.823 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.7533, allocations: 1.123 MB / 0.8241 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003363/0.7536, allocations: 224 kB / 0.8243 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.7569, allocations: 1.559 MB / 0.8258 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006747/0.7576, allocations: 0.7903 MB / 0.8266 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00141/0.759, allocations: 1.282 MB / 0.8278 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.7646, allocations: 3.733 MB / 0.8315 GB, free: 100 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7646, allocations: 7.938 kB / 0.8315 GB, free: 92 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7646, allocations: 0 / 0.8315 GB, free: 92 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.5e-05/0.7647, allocations: 0 / 0.8315 GB, free: 92 kB / 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.005215/0.7699, allocations: 2.916 MB / 0.8343 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.7699, allocations: 9.781 kB / 0.8343 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002832/0.7702, allocations: 253.3 kB / 0.8346 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.7738, allocations: 0.5616 MB / 0.8351 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/0.7789, allocations: 3.427 MB / 0.8385 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.7791, allocations: 133.7 kB / 0.8386 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.7794, allocations: 165.8 kB / 0.8387 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.7829, allocations: 1.96 MB / 0.8407 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.783, allocations: 3.938 kB / 0.8407 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.7832, allocations: 72 kB / 0.8407 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.7832, allocations: 40 kB / 0.8408 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.7868, allocations: 2.117 MB / 0.8428 GB, free: 8.098 MB / 0.6075 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.01046/0.7973, allocations: 6.715 MB / 0.8494 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.8005, allocations: 2.135 MB / 0.8515 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.8018, allocations: 0.7691 MB / 0.8522 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/0.8024, allocations: 436.4 kB / 0.8526 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.8042, allocations: 1.021 MB / 0.8536 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/0.8042, allocations: 0 / 0.8536 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006664/0.8109, allocations: 2.996 MB / 0.8566 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.811, allocations: 193.2 kB / 0.8568 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004778/0.8158, allocations: 4.081 MB / 0.8607 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002964/0.8161, allocations: 61.7 kB / 0.8608 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.817, allocations: 0.8945 MB / 0.8617 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004973/0.8175, allocations: 485.8 kB / 0.8621 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/0.8179, allocations: 242.8 kB / 0.8624 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.8181, allocations: 357.9 kB / 0.8627 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.8192, allocations: 0.5843 MB / 0.8633 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.8205, allocations: 0.8086 MB / 0.8641 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.8228, allocations: 1.333 MB / 0.8654 GB, free: 316 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8228, allocations: 0 / 0.8654 GB, free: 316 kB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003866/0.8267, allocations: 1.803 MB / 0.8671 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.8267, allocations: 6.188 kB / 0.8671 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.8268, allocations: 4.062 kB / 0.8671 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009994/0.8278, allocations: 204.1 kB / 0.8673 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.8293, allocations: 335.5 kB / 0.8677 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.8349, allocations: 7.322 MB / 0.8748 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.8366, allocations: 170.8 kB / 0.875 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.8368, allocations: 47.97 kB / 0.875 GB, free: 5.691 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.000945/0.8377, allocations: 492.9 kB / 0.8755 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.8382, allocations: 193.6 kB / 0.8757 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.8424, allocations: 2.161 MB / 0.8778 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.8424, allocations: 16 kB / 0.8778 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8424, allocations: 4 kB / 0.8778 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.8424, allocations: 7.969 kB / 0.8778 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006688/0.8491, allocations: 4.133 MB / 0.8818 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8492, allocations: 0 / 0.8818 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.8505, allocations: 319.6 kB / 0.8821 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008182/0.8514, allocations: 200.1 kB / 0.8823 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.8515, allocations: 43.91 kB / 0.8824 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/0.8572, allocations: 7.369 MB / 0.8896 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8572, allocations: 4.062 kB / 0.8896 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004479/0.8617, allocations: 2.016 MB / 0.8915 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.8629, allocations: 0.5099 MB / 0.892 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/0.8634, allocations: 27.94 kB / 0.8921 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.8649, allocations: 113.2 kB / 0.8922 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.8652, allocations: 121.1 kB / 0.8923 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.8654, allocations: 71.89 kB / 0.8924 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004005/0.8694, allocations: 3.132 MB / 0.8954 GB, free: 15.94 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8694, allocations: 0 / 0.8954 GB, free: 15.94 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0023/0.8717, allocations: 0.6976 MB / 0.8961 GB, free: 15.24 MB / 0.67 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.006538/0.8783, allocations: 3.216 MB / 0.8992 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.882, allocations: 2.078 MB / 0.9013 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.882, allocations: 12.48 kB / 0.9013 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.8842, allocations: 1.415 MB / 0.9027 GB, free: 8.566 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.8872, allocations: 0.5615 MB / 0.9032 GB, free: 8.027 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/0.9221, allocations: 21 MB / 0.9237 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.9239, allocations: 1.529 MB / 0.9252 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00213/0.9261, allocations: 0.5329 MB / 0.9257 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.9277, allocations: 0.9073 MB / 0.9266 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of SimCode: time 1.342e-06/0.9277, allocations: 0 / 0.9266 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.03, allocations: 49.33 MB / 0.9748 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.34, allocations: 6.469 kB / 0.9748 GB, free: 14.96 MB / 0.7481 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)