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.005162/0.005162, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001192/0.001192, allocations: 188.1 kB / 16.67 MB, free: 5.918 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002381/0.002381, allocations: 274.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 99.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.154, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4618/0.6159, allocations: 167.2 MB / 0.9292 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.6373, allocations: 17.23 MB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.6387, allocations: 31.81 kB / 0.946 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.6402, allocations: 0.5313 MB / 0.9466 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.6446, allocations: 1.678 MB / 0.9482 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.6478, allocations: 1.437 MB / 0.9496 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003079/0.6509, allocations: 2.685 MB / 0.9522 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.6533, allocations: 1.986 MB / 0.9542 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.6568, allocations: 1.402 MB / 0.9555 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.6581, allocations: 1.093 MB / 0.9566 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.6585, allocations: 224 kB / 0.9568 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.6612, allocations: 1.552 MB / 0.9583 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.662, allocations: 0.8024 MB / 0.9591 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.6631, allocations: 1.243 MB / 0.9603 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.6675, allocations: 3.685 MB / 0.9639 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6675, allocations: 0 / 0.9639 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6675, allocations: 0 / 0.9639 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.814e-05/0.6675, allocations: 4 kB / 0.9639 GB, free: 8.254 MB / 0.7169 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.004697/0.6723, allocations: 2.974 MB / 0.9668 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6723, allocations: 12.03 kB / 0.9669 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002895/0.6726, allocations: 256.9 kB / 0.9671 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.6761, allocations: 0.5721 MB / 0.9677 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.6801, allocations: 3.438 MB / 0.971 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.6802, allocations: 131.4 kB / 0.9711 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.6805, allocations: 176 kB / 0.9713 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.6838, allocations: 1.96 MB / 0.9732 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.6839, allocations: 3.938 kB / 0.9732 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.6841, allocations: 76 kB / 0.9733 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/0.6841, allocations: 40 kB / 0.9733 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.6877, allocations: 2.117 MB / 0.9754 GB, free: 12.33 MB / 0.7325 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.00894/0.6967, allocations: 6.345 MB / 0.9816 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.7001, allocations: 2.129 MB / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.7014, allocations: 0.7725 MB / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/0.702, allocations: 433.6 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/0.7039, allocations: 1.019 MB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.775e-06/0.7039, allocations: 0 / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006829/0.7107, allocations: 3.001 MB / 0.9888 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.7109, allocations: 201.2 kB / 0.989 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/0.7156, allocations: 4.073 MB / 0.9929 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.7159, allocations: 57.7 kB / 0.993 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/0.7167, allocations: 0.9192 MB / 0.9939 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.7172, allocations: 499.7 kB / 0.9944 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.7176, allocations: 242.8 kB / 0.9946 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.7178, allocations: 353.9 kB / 0.9949 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.719, allocations: 0.5843 MB / 0.9955 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.7204, allocations: 0.8086 MB / 0.9963 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002451/0.7228, allocations: 1.333 MB / 0.9976 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.7228, allocations: 0 / 0.9976 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003945/0.7268, allocations: 1.819 MB / 0.9994 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7268, allocations: 8 kB / 0.9994 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.7268, allocations: 0 / 0.9994 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009868/0.7278, allocations: 208.2 kB / 0.9996 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.7293, allocations: 327.5 kB / 0.9999 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.7357, allocations: 7.329 MB / 1.007 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7371, allocations: 164.8 kB / 1.007 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.7372, allocations: 47.97 kB / 1.007 GB, free: 10.28 MB / 0.7637 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.0008579/0.7381, allocations: 0.5019 MB / 1.008 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.7384, allocations: 198.7 kB / 1.008 GB, free: 9.574 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.743, allocations: 2.157 MB / 1.01 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.743, allocations: 16 kB / 1.01 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.743, allocations: 0 / 1.01 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.743, allocations: 11.97 kB / 1.01 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/0.7499, allocations: 4.129 MB / 1.014 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.7499, allocations: 3.984 kB / 1.014 GB, free: 3.152 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.7513, allocations: 323.5 kB / 1.014 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.7522, allocations: 200.1 kB / 1.015 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.7523, allocations: 39.97 kB / 1.015 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006228/0.7585, allocations: 7.359 MB / 1.022 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7586, allocations: 0 / 1.022 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/0.7629, allocations: 2.025 MB / 1.024 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009168/0.7638, allocations: 0.5264 MB / 1.024 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.7641, allocations: 32 kB / 1.024 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7653, allocations: 114 kB / 1.024 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.7655, allocations: 117.1 kB / 1.025 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.7657, allocations: 75.94 kB / 1.025 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003394/0.7691, allocations: 3.128 MB / 1.028 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7691, allocations: 0 / 1.028 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001752/0.7709, allocations: 0.6664 MB / 1.028 GB, free: 3.793 MB / 0.7794 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.0065/0.7774, allocations: 3.247 MB / 1.032 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.7811, allocations: 2.082 MB / 1.034 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.7811, allocations: 4.547 kB / 1.034 GB, free: 14.55 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002204/0.7833, allocations: 1.438 MB / 1.035 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.7856, allocations: 0.5317 MB / 1.035 GB, free: 12.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03041/0.816, allocations: 21.19 MB / 1.056 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.8174, allocations: 1.529 MB / 1.058 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001651/0.8191, allocations: 0.5325 MB / 1.058 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/0.8203, allocations: 0.9014 MB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of SimCode: time 1.042e-06/0.8204, allocations: 0 / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3701/1.19, allocations: 48.55 MB / 1.106 GB, free: 285.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.7, allocations: 7.094 kB / 1.106 GB, free: 285.8 MB / 0.8419 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)