Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 215.1 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8425/0.8425, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 72.45 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1758, allocations: 85.9 MB / 0.7024 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5752/0.751, allocations: 170.6 MB / 0.869 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.7744, allocations: 17.5 MB / 0.8861 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.776, allocations: 43.62 kB / 0.8862 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.7777, allocations: 0.5546 MB / 0.8867 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00509/0.7828, allocations: 1.705 MB / 0.8884 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.7866, allocations: 1.456 MB / 0.8898 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.7902, allocations: 2.581 MB / 0.8923 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.7925, allocations: 1.632 MB / 0.8939 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.797, allocations: 1.46 MB / 0.8953 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.7988, allocations: 1.074 MB / 0.8964 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/0.7991, allocations: 208 kB / 0.8966 GB, free: 15.77 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.8029, allocations: 1.661 MB / 0.8982 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007665/0.8036, allocations: 0.7828 MB / 0.899 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.805, allocations: 1.193 MB / 0.9001 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.8106, allocations: 3.621 MB / 0.9037 GB, free: 8.492 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8106, allocations: 0 / 0.9037 GB, free: 8.492 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8106, allocations: 0 / 0.9037 GB, free: 8.492 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.152e-05/0.8106, allocations: 0 / 0.9037 GB, free: 8.492 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005192/0.8158, allocations: 2.833 MB / 0.9064 GB, free: 5.613 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.8159, allocations: 12.03 kB / 0.9065 GB, free: 5.602 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/0.8162, allocations: 240.6 kB / 0.9067 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/0.8205, allocations: 0.6267 MB / 0.9073 GB, free: 4.727 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.8252, allocations: 3.334 MB / 0.9105 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.8253, allocations: 127.3 kB / 0.9107 GB, free: 1.23 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.8256, allocations: 163.9 kB / 0.9108 GB, free: 1.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.8289, allocations: 1.888 MB / 0.9127 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.829, allocations: 4 kB / 0.9127 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.8291, allocations: 72 kB / 0.9127 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.8292, allocations: 40 kB / 0.9128 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.8327, allocations: 2.065 MB / 0.9148 GB, free: 12.95 MB / 0.6856 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.01002/0.8428, allocations: 6.133 MB / 0.9208 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.8459, allocations: 1.654 MB / 0.9224 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.8471, allocations: 0.6866 MB / 0.9231 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004808/0.8476, allocations: 129.2 kB / 0.9232 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001735/0.8493, allocations: 0.9387 MB / 0.9241 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.096e-06/0.8493, allocations: 0 / 0.9241 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.00671/0.856, allocations: 2.5 MB / 0.9266 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.8562, allocations: 193.2 kB / 0.9267 GB, free: 376 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/0.8613, allocations: 4.064 MB / 0.9307 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/0.8616, allocations: 57.64 kB / 0.9308 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/0.8625, allocations: 0.8878 MB / 0.9316 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.863, allocations: 483.7 kB / 0.9321 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.8633, allocations: 226.9 kB / 0.9323 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8635, allocations: 357.9 kB / 0.9326 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.8646, allocations: 0.553 MB / 0.9332 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.866, allocations: 0.7735 MB / 0.9339 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/0.8683, allocations: 1.278 MB / 0.9352 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8683, allocations: 0 / 0.9352 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004033/0.8723, allocations: 1.726 MB / 0.9369 GB, free: 5.844 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.8724, allocations: 4 kB / 0.9369 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8724, allocations: 8.062 kB / 0.9369 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.8734, allocations: 212 kB / 0.9371 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.8749, allocations: 311.6 kB / 0.9374 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/0.8814, allocations: 6.811 MB / 0.944 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.8829, allocations: 157.5 kB / 0.9442 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.883, allocations: 51.91 kB / 0.9442 GB, free: 13.71 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.000936/0.8839, allocations: 467.7 kB / 0.9447 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.8843, allocations: 198.8 kB / 0.9449 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.8887, allocations: 2.063 MB / 0.9469 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.8887, allocations: 16 kB / 0.9469 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8887, allocations: 3.938 kB / 0.9469 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.8887, allocations: 7.969 kB / 0.9469 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.8957, allocations: 3.94 MB / 0.9508 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8957, allocations: 0 / 0.9508 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.8971, allocations: 315.6 kB / 0.9511 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008615/0.8979, allocations: 196.1 kB / 0.9513 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.898, allocations: 39.97 kB / 0.9513 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006479/0.9045, allocations: 6.855 MB / 0.958 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9045, allocations: 0 / 0.958 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.9089, allocations: 1.924 MB / 0.9599 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.9101, allocations: 442.1 kB / 0.9603 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.9103, allocations: 28 kB / 0.9603 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.9115, allocations: 100.5 kB / 0.9604 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.9117, allocations: 105.1 kB / 0.9605 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.9119, allocations: 71.94 kB / 0.9606 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00378/0.9157, allocations: 3.12 MB / 0.9636 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9157, allocations: 0 / 0.9636 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001928/0.9176, allocations: 0.6508 MB / 0.9643 GB, free: 8.484 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006564/0.9242, allocations: 3.124 MB / 0.9673 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003704/0.9279, allocations: 1.945 MB / 0.9692 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.9279, allocations: 4.891 kB / 0.9692 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.9303, allocations: 1.336 MB / 0.9705 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.9332, allocations: 0.5271 MB / 0.971 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03334/0.9666, allocations: 20.8 MB / 0.9913 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.968, allocations: 1.506 MB / 0.9928 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001869/0.9698, allocations: 0.5283 MB / 0.9933 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/0.9711, allocations: 0.8546 MB / 0.9942 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of SimCode: time 1.122e-06/0.9711, allocations: 4 kB / 0.9942 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.087, allocations: 48.53 MB / 1.042 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.49, allocations: 3.938 kB / 1.042 GB, free: 9.391 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.411886629997753] Failed to read output from testmodel.py, exit status != 0: 17.730779054996674 17.757721875 16.942185448 Calling exit ...