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.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/IDEAS 3.0.0/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7844/0.7844, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.22 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4101, allocations: 80.19 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1724/0.5826, allocations: 167 MB / 0.7432 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.603, allocations: 17.12 MB / 0.76 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.6045, allocations: 31.81 kB / 0.76 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.6063, allocations: 0.5235 MB / 0.7605 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.6115, allocations: 1.635 MB / 0.7621 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.6152, allocations: 1.373 MB / 0.7634 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.6188, allocations: 2.541 MB / 0.7659 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002922/0.6218, allocations: 1.955 MB / 0.7678 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.6255, allocations: 1.347 MB / 0.7692 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.6271, allocations: 1.046 MB / 0.7702 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.6276, allocations: 212 kB / 0.7704 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.6307, allocations: 1.505 MB / 0.7718 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009804/0.6317, allocations: 0.7711 MB / 0.7726 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.6335, allocations: 1.189 MB / 0.7738 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.6384, allocations: 3.47 MB / 0.7771 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6384, allocations: 0 / 0.7771 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6384, allocations: 0 / 0.7771 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.46e-05/0.6385, allocations: 0 / 0.7771 GB, free: 7.152 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005164/0.6437, allocations: 2.804 MB / 0.7799 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6437, allocations: 11.97 kB / 0.7799 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003002/0.644, allocations: 240.6 kB / 0.7801 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/0.6478, allocations: 0.559 MB / 0.7807 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.6514, allocations: 3.35 MB / 0.7839 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6516, allocations: 135.2 kB / 0.7841 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.6518, allocations: 164 kB / 0.7842 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.6549, allocations: 1.884 MB / 0.7861 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.655, allocations: 4 kB / 0.7861 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.6551, allocations: 75.98 kB / 0.7861 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.6552, allocations: 40 kB / 0.7862 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.6586, allocations: 2.061 MB / 0.7882 GB, free: 11.65 MB / 0.6231 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.009285/0.6679, allocations: 6.237 MB / 0.7943 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.6711, allocations: 2.041 MB / 0.7963 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.6724, allocations: 0.7412 MB / 0.797 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/0.673, allocations: 429.7 kB / 0.7974 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.6746, allocations: 0.9349 MB / 0.7983 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.166e-06/0.6747, allocations: 0 / 0.7983 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006806/0.6815, allocations: 2.868 MB / 0.8011 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6816, allocations: 197.2 kB / 0.8013 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/0.6859, allocations: 4.031 MB / 0.8053 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.6862, allocations: 53.7 kB / 0.8053 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.6869, allocations: 0.8746 MB / 0.8062 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.6873, allocations: 469.1 kB / 0.8066 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.6877, allocations: 226.8 kB / 0.8068 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6878, allocations: 345.9 kB / 0.8072 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.689, allocations: 0.553 MB / 0.8077 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.6903, allocations: 0.7735 MB / 0.8084 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.6927, allocations: 1.282 MB / 0.8097 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6927, allocations: 0 / 0.8097 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003992/0.6967, allocations: 1.717 MB / 0.8114 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6967, allocations: 12.06 kB / 0.8114 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6967, allocations: 0 / 0.8114 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.6978, allocations: 204.1 kB / 0.8116 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.6993, allocations: 319.6 kB / 0.8119 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2599/0.9593, allocations: 7.317 MB / 0.819 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.9609, allocations: 158 kB / 0.8192 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.961, allocations: 46.08 kB / 0.8192 GB, free: 211.9 MB / 0.6387 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.0008215/0.9618, allocations: 474 kB / 0.8197 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/0.9622, allocations: 184.6 kB / 0.8199 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.9666, allocations: 2.058 MB / 0.8219 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9666, allocations: 14.91 kB / 0.8219 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.9666, allocations: 2.703 kB / 0.8219 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.9666, allocations: 7.078 kB / 0.8219 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/0.9732, allocations: 3.955 MB / 0.8258 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.9732, allocations: 3.281 kB / 0.8258 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.9747, allocations: 318 kB / 0.8261 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/0.9756, allocations: 195.3 kB / 0.8262 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.9757, allocations: 39.64 kB / 0.8263 GB, free: 209.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/0.98, allocations: 7.356 MB / 0.8335 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.98, allocations: 0.6562 kB / 0.8335 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.9839, allocations: 1.919 MB / 0.8353 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.9847, allocations: 0.4983 MB / 0.8358 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.9849, allocations: 28.64 kB / 0.8359 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.9861, allocations: 106.5 kB / 0.836 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.9863, allocations: 106.4 kB / 0.8361 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.9865, allocations: 64.39 kB / 0.8361 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002823/0.9893, allocations: 3.103 MB / 0.8391 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9893, allocations: 0 / 0.8391 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001668/0.991, allocations: 0.6384 MB / 0.8398 GB, free: 200.2 MB / 0.6387 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.005314/0.9963, allocations: 3.12 MB / 0.8428 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004942/1.001, allocations: 2.404 MB / 0.8452 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.001, allocations: 10.47 kB / 0.8452 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.003, allocations: 1.382 MB / 0.8465 GB, free: 197 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.006, allocations: 0.5317 MB / 0.847 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.03, allocations: 22.15 MB / 0.8687 GB, free: 178.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/1.031, allocations: 1.509 MB / 0.8701 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001809/1.033, allocations: 0.5204 MB / 0.8707 GB, free: 176.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008967/1.034, allocations: 0.8546 MB / 0.8715 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/1.034, allocations: 0 / 0.8715 GB, free: 175.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.145, allocations: 46.62 MB / 0.917 GB, free: 129.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.82, allocations: 8 kB / 0.917 GB, free: 129.4 MB / 0.6387 GB (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)