Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="BuildingSystems_BuildingSystems_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.00429/0.00429, allocations: 101 kB / 15.73 MB, free: 6.055 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.001199/0.001199, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 297.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.5 MB / 0.5074 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002606, allocations: 103.8 kB / 0.6943 GB, free: 15.15 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3861, allocations: 89.12 MB / 0.7813 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.187/0.5731, allocations: 168.4 MB / 0.9458 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.5948, allocations: 17.37 MB / 0.9628 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.5961, allocations: 31.81 kB / 0.9628 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.5976, allocations: 0.5738 MB / 0.9634 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.6022, allocations: 1.794 MB / 0.9651 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.6054, allocations: 1.442 MB / 0.9665 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.6088, allocations: 2.879 MB / 0.9693 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.6112, allocations: 1.944 MB / 0.9712 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.615, allocations: 1.426 MB / 0.9726 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.6163, allocations: 1.128 MB / 0.9737 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.6166, allocations: 224 kB / 0.9739 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.6196, allocations: 1.552 MB / 0.9755 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007146/0.6203, allocations: 0.7945 MB / 0.9762 GB, free: 420 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.6216, allocations: 1.283 MB / 0.9775 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004745/0.6263, allocations: 3.751 MB / 0.9811 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6264, allocations: 0 / 0.9811 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6264, allocations: 0 / 0.9811 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.6264, allocations: 4 kB / 0.9812 GB, free: 11.35 MB / 0.7481 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.004746/0.6311, allocations: 3.009 MB / 0.9841 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.6312, allocations: 8.031 kB / 0.9841 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002957/0.6315, allocations: 252.9 kB / 0.9843 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.6351, allocations: 0.576 MB / 0.9849 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.6391, allocations: 3.446 MB / 0.9883 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.6392, allocations: 131.4 kB / 0.9884 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.6395, allocations: 168 kB / 0.9886 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.6428, allocations: 1.96 MB / 0.9905 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.6429, allocations: 3.938 kB / 0.9905 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.643, allocations: 72 kB / 0.9905 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.6431, allocations: 40 kB / 0.9906 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.295/0.938, allocations: 2.111 MB / 0.9926 GB, free: 200.1 MB / 0.7481 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.009707/0.9478, allocations: 6.732 MB / 0.9992 GB, free: 196.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.9512, allocations: 2.128 MB / 1.001 GB, free: 195.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.9525, allocations: 0.7758 MB / 1.002 GB, free: 195.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004888/0.953, allocations: 427.5 kB / 1.002 GB, free: 195.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.9549, allocations: 1.022 MB / 1.003 GB, free: 194.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=146): time 3.106e-06/0.955, allocations: 0.5312 kB / 1.003 GB, free: 194.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=146): time 0.006819/0.9618, allocations: 3.013 MB / 1.006 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.9619, allocations: 199.9 kB / 1.007 GB, free: 192.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.9658, allocations: 4.077 MB / 1.011 GB, free: 191 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.9659, allocations: 56.27 kB / 1.011 GB, free: 190.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.9665, allocations: 0.9119 MB / 1.012 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.9668, allocations: 0.4971 MB / 1.012 GB, free: 189.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.9671, allocations: 242.6 kB / 1.012 GB, free: 189.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/0.9672, allocations: 358.7 kB / 1.013 GB, free: 189.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.9683, allocations: 0.5838 MB / 1.013 GB, free: 189.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.9694, allocations: 0.8058 MB / 1.014 GB, free: 188.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.9716, allocations: 1.331 MB / 1.015 GB, free: 188 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9716, allocations: 0 / 1.015 GB, free: 188 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003596/0.9752, allocations: 1.808 MB / 1.017 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9752, allocations: 7.094 kB / 1.017 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9753, allocations: 9.234 kB / 1.017 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.9763, allocations: 209.8 kB / 1.017 GB, free: 187 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.9777, allocations: 330.6 kB / 1.018 GB, free: 186.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.9818, allocations: 7.32 MB / 1.025 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.9832, allocations: 172.5 kB / 1.025 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.9833, allocations: 55.91 kB / 1.025 GB, free: 179.3 MB / 0.7481 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.0007884/0.9841, allocations: 484.8 kB / 1.025 GB, free: 179 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.9845, allocations: 206.1 kB / 1.026 GB, free: 178.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.9884, allocations: 2.158 MB / 1.028 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.9884, allocations: 15.75 kB / 1.028 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9885, allocations: 0 / 1.028 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.9885, allocations: 11.91 kB / 1.028 GB, free: 177.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.9939, allocations: 4.126 MB / 1.032 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.9939, allocations: 0 / 1.032 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.9952, allocations: 316.9 kB / 1.032 GB, free: 175.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.996, allocations: 213.4 kB / 1.032 GB, free: 175.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.59e-05/0.9961, allocations: 39.88 kB / 1.032 GB, free: 175.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/0.9999, allocations: 7.363 MB / 1.039 GB, free: 167.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.9999, allocations: 0 / 1.039 GB, free: 167.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/1.003, allocations: 2.038 MB / 1.041 GB, free: 165.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000634/1.004, allocations: 0.5174 MB / 1.042 GB, free: 165.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/1.004, allocations: 32 kB / 1.042 GB, free: 165.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.005, allocations: 107.9 kB / 1.042 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.006, allocations: 113.1 kB / 1.042 GB, free: 165 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.006, allocations: 75.95 kB / 1.042 GB, free: 164.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002102/1.008, allocations: 3.128 MB / 1.045 GB, free: 161.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.008, allocations: 0 / 1.045 GB, free: 161.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001487/1.009, allocations: 0.6989 MB / 1.046 GB, free: 161.1 MB / 0.7481 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.005346/1.015, allocations: 3.255 MB / 1.049 GB, free: 158.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.018, allocations: 2.071 MB / 1.051 GB, free: 156 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.018, allocations: 8.5 kB / 1.051 GB, free: 156 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.019, allocations: 1.423 MB / 1.053 GB, free: 154.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.021, allocations: 0.5636 MB / 1.053 GB, free: 153.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/1.043, allocations: 21.07 MB / 1.074 GB, free: 132.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/1.044, allocations: 1.533 MB / 1.075 GB, free: 131.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001591/1.046, allocations: 0.5367 MB / 1.076 GB, free: 130.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009274/1.047, allocations: 0.8936 MB / 1.077 GB, free: 129.6 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/1.047, allocations: 0 / 1.077 GB, free: 129.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08281/1.13, allocations: 49.39 MB / 1.125 GB, free: 80.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.91, allocations: 23.12 kB / 1.125 GB, free: 80.84 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)