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.001086/0.001086, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.0009645/0.0009644, allocations: 192 kB / 17.34 MB, free: 5.727 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 66 kB / 0.5679 GB, free: 28.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.126, allocations: 77.94 MB / 0.644 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4712/0.5973, allocations: 168.4 MB / 0.8085 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.6151, allocations: 17.37 MB / 0.8255 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.6169, allocations: 32.12 kB / 0.8255 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.6184, allocations: 0.5895 MB / 0.8261 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004677/0.6231, allocations: 1.812 MB / 0.8279 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.6261, allocations: 1.448 MB / 0.8293 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.6289, allocations: 2.896 MB / 0.8321 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.6309, allocations: 1.936 MB / 0.834 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.6341, allocations: 1.482 MB / 0.8354 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.6352, allocations: 1.12 MB / 0.8365 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.6354, allocations: 221.9 kB / 0.8367 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.6379, allocations: 1.561 MB / 0.8383 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006043/0.6385, allocations: 0.7953 MB / 0.839 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.6396, allocations: 1.278 MB / 0.8403 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00398/0.6436, allocations: 3.749 MB / 0.8439 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6436, allocations: 0 / 0.8439 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6436, allocations: 0 / 0.8439 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.6436, allocations: 0 / 0.8439 GB, free: 12.29 MB / 0.6075 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.00457/0.6482, allocations: 3.013 MB / 0.8469 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6483, allocations: 10.03 kB / 0.8469 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.6485, allocations: 253.5 kB / 0.8471 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.6521, allocations: 0.5821 MB / 0.8477 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.6557, allocations: 3.437 MB / 0.8511 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.6558, allocations: 127.4 kB / 0.8512 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.656, allocations: 180 kB / 0.8514 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.6591, allocations: 1.956 MB / 0.8533 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.6592, allocations: 0 / 0.8533 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.6593, allocations: 72 kB / 0.8533 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.6594, allocations: 40 kB / 0.8534 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.6627, allocations: 2.117 MB / 0.8554 GB, free: 2.059 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.008593/0.6713, allocations: 6.743 MB / 0.862 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.6745, allocations: 2.127 MB / 0.8641 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.6757, allocations: 0.7764 MB / 0.8649 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.6763, allocations: 427.5 kB / 0.8653 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.6779, allocations: 1.017 MB / 0.8663 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 2.866e-06/0.6779, allocations: 4 kB / 0.8663 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006627/0.6846, allocations: 3.005 MB / 0.8692 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.6847, allocations: 205.2 kB / 0.8694 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/0.6889, allocations: 4.073 MB / 0.8734 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.6891, allocations: 57.7 kB / 0.8734 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006841/0.6897, allocations: 0.9115 MB / 0.8743 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.6901, allocations: 0.4973 MB / 0.8748 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.6905, allocations: 238.8 kB / 0.875 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6907, allocations: 357.9 kB / 0.8754 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.6918, allocations: 0.5882 MB / 0.8759 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.693, allocations: 0.8047 MB / 0.8767 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.6955, allocations: 1.333 MB / 0.878 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6955, allocations: 0 / 0.878 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004712/0.7003, allocations: 1.808 MB / 0.8798 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7003, allocations: 4 kB / 0.8798 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.7003, allocations: 7.938 kB / 0.8798 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.7013, allocations: 216.1 kB / 0.88 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.703, allocations: 323.6 kB / 0.8803 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.7086, allocations: 7.342 MB / 0.8875 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.7101, allocations: 167 kB / 0.8877 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.7103, allocations: 51.97 kB / 0.8877 GB, free: 15.57 MB / 0.6544 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.0009387/0.7112, allocations: 485.5 kB / 0.8882 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.7116, allocations: 202.7 kB / 0.8884 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.7159, allocations: 2.165 MB / 0.8905 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.7159, allocations: 16 kB / 0.8905 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7159, allocations: 4 kB / 0.8905 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.716, allocations: 7.969 kB / 0.8905 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.7225, allocations: 4.124 MB / 0.8945 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7226, allocations: 0 / 0.8945 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.7241, allocations: 323.5 kB / 0.8948 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008556/0.725, allocations: 196.1 kB / 0.895 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.7251, allocations: 47.91 kB / 0.8951 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/0.731, allocations: 7.365 MB / 0.9023 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7311, allocations: 0 / 0.9023 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.7354, allocations: 2.033 MB / 0.9043 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/0.7364, allocations: 0.5226 MB / 0.9048 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.7367, allocations: 28 kB / 0.9048 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.738, allocations: 121.1 kB / 0.9049 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.7382, allocations: 113.1 kB / 0.905 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.7384, allocations: 67.95 kB / 0.9051 GB, free: 12.93 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003106/0.7415, allocations: 3.128 MB / 0.9081 GB, free: 9.809 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7415, allocations: 4 kB / 0.9081 GB, free: 9.805 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001658/0.7432, allocations: 0.6899 MB / 0.9088 GB, free: 9.113 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.005921/0.7491, allocations: 3.243 MB / 0.912 GB, free: 6.043 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003747/0.7529, allocations: 2.074 MB / 0.914 GB, free: 3.902 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.7529, allocations: 8.547 kB / 0.914 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/0.755, allocations: 1.433 MB / 0.9154 GB, free: 2.398 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.7574, allocations: 0.554 MB / 0.916 GB, free: 1.867 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/0.7856, allocations: 21.08 MB / 0.9365 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.7869, allocations: 1.529 MB / 0.938 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001658/0.7885, allocations: 0.5213 MB / 0.9385 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.7897, allocations: 0.9053 MB / 0.9394 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/0.7897, allocations: 0 / 0.9394 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/0.9112, allocations: 49.33 MB / 0.9876 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.38, allocations: 6.812 kB / 0.9876 GB, free: 8.715 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)