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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 111.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.00239, allocations: 285.7 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.171/1.171, allocations: 180.9 MB / 0.5261 GB, free: 14.77 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 100.4 kB / 0.7248 GB, free: 40.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1655, allocations: 94.16 MB / 0.8167 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1965/0.362, allocations: 169 MB / 0.9817 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02532/0.3873, allocations: 17.46 MB / 0.9988 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.3888, allocations: 31.75 kB / 0.9988 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.3906, allocations: 0.5934 MB / 0.9994 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.3959, allocations: 1.813 MB / 1.001 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004085/0.4, allocations: 1.454 MB / 1.003 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0044/0.4044, allocations: 2.879 MB / 1.005 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.4071, allocations: 1.605 MB / 1.007 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.4115, allocations: 1.479 MB / 1.008 GB, free: 440 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4396/0.8511, allocations: 1.145 MB / 1.01 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006703/0.8518, allocations: 225.6 kB / 1.01 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.8556, allocations: 1.598 MB / 1.011 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009085/0.8565, allocations: 0.8119 MB / 1.012 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.8583, allocations: 1.277 MB / 1.013 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.8648, allocations: 3.756 MB / 1.017 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.8648, allocations: 2.625 kB / 1.017 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8648, allocations: 0.6562 kB / 1.017 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.45e-05/0.8649, allocations: 0 / 1.017 GB, free: 6.254 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.006661/0.8715, allocations: 3.011 MB / 1.02 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.8716, allocations: 10 kB / 1.02 GB, free: 4.797 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002939/0.8719, allocations: 248.8 kB / 1.02 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/0.8758, allocations: 0.5824 MB / 1.021 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005797/0.8816, allocations: 3.444 MB / 1.024 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.8817, allocations: 131.4 kB / 1.024 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.882, allocations: 169.2 kB / 1.024 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.885, allocations: 1.959 MB / 1.026 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.885, allocations: 0 / 1.026 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.8852, allocations: 72.03 kB / 1.026 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.8852, allocations: 44.03 kB / 1.026 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.8882, allocations: 2.111 MB / 1.028 GB, free: 3.91 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.01007/0.8983, allocations: 6.728 MB / 1.035 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.9014, allocations: 2.05 MB / 1.037 GB, free: 17.21 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.9025, allocations: 0.7131 MB / 1.038 GB, free: 17.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006409/0.9031, allocations: 429.3 kB / 1.038 GB, free: 16.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.9046, allocations: 1.016 MB / 1.039 GB, free: 16.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=146): time 3.116e-06/0.9046, allocations: 1 kB / 1.039 GB, free: 16.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=146): time 0.00614/0.9108, allocations: 3.006 MB / 1.042 GB, free: 16.05 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.9109, allocations: 205.2 kB / 1.042 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/0.9147, allocations: 4.07 MB / 1.046 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.915, allocations: 58.77 kB / 1.046 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.9156, allocations: 0.9114 MB / 1.047 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/0.9159, allocations: 0.5007 MB / 1.048 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.9163, allocations: 241.5 kB / 1.048 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.9165, allocations: 354.9 kB / 1.048 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.9174, allocations: 0.5818 MB / 1.049 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.9185, allocations: 0.8096 MB / 1.05 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.9204, allocations: 1.338 MB / 1.051 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9204, allocations: 0.8438 kB / 1.051 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003613/0.924, allocations: 1.801 MB / 1.053 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.924, allocations: 9.656 kB / 1.053 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.924, allocations: 2.906 kB / 1.053 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009416/0.925, allocations: 209.7 kB / 1.053 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.9264, allocations: 333.5 kB / 1.053 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.9336, allocations: 7.312 MB / 1.06 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.9357, allocations: 173.5 kB / 1.061 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.9359, allocations: 48.19 kB / 1.061 GB, free: 7.359 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.001306/0.9372, allocations: 0.4885 MB / 1.061 GB, free: 7.238 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.9379, allocations: 202.1 kB / 1.061 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/0.942, allocations: 2.157 MB / 1.063 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.942, allocations: 15.53 kB / 1.063 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.942, allocations: 4.719 kB / 1.063 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.942, allocations: 7.359 kB / 1.063 GB, free: 6.965 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.949, allocations: 4.128 MB / 1.067 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9491, allocations: 0 / 1.067 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.9504, allocations: 322.6 kB / 1.068 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008321/0.9512, allocations: 198.3 kB / 1.068 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.9513, allocations: 45.06 kB / 1.068 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.9575, allocations: 7.362 MB / 1.075 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9575, allocations: 0.8438 kB / 1.075 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/0.9622, allocations: 2.028 MB / 1.077 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.9639, allocations: 0.5279 MB / 1.078 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.9643, allocations: 34.25 kB / 1.078 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.9656, allocations: 109.9 kB / 1.078 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.966, allocations: 113.1 kB / 1.078 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.9661, allocations: 73.31 kB / 1.078 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002967/0.9691, allocations: 3.128 MB / 1.081 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9691, allocations: 0 / 1.081 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002683/0.9718, allocations: 0.6921 MB / 1.082 GB, free: 14.91 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.006537/0.9783, allocations: 3.258 MB / 1.085 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.9816, allocations: 2.023 MB / 1.087 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.9816, allocations: 3.688 kB / 1.087 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.9835, allocations: 1.377 MB / 1.088 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.9863, allocations: 0.5505 MB / 1.089 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0314/1.018, allocations: 21.08 MB / 1.109 GB, free: 11.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/1.019, allocations: 1.539 MB / 1.111 GB, free: 10.36 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001957/1.021, allocations: 0.538 MB / 1.111 GB, free: 9.828 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.022, allocations: 0.8936 MB / 1.112 GB, free: 8.934 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/1.022, allocations: 4 kB / 1.112 GB, free: 8.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.131, allocations: 49.71 MB / 1.161 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.8, allocations: 15.23 kB / 1.161 GB, free: 7.957 MB / 0.8419 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.018264018930495] Failed to read output from testmodel.py, exit status != 0: 17.01628915593028 17.029337331 16.161648563 Calling exit ...