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.007918/0.007918, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.002053/0.002053, allocations: 197.1 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.91 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3775, allocations: 80.21 MB / 0.6592 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1857/0.5632, allocations: 167 MB / 0.8222 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.5857, allocations: 17.11 MB / 0.839 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.587, allocations: 31.81 kB / 0.839 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.5885, allocations: 0.5197 MB / 0.8395 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.5931, allocations: 1.649 MB / 0.8411 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.5964, allocations: 1.395 MB / 0.8425 GB, free: 9.852 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003247/0.5996, allocations: 2.541 MB / 0.8449 GB, free: 7.305 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.6026, allocations: 1.963 MB / 0.8469 GB, free: 5.297 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/0.607, allocations: 1.343 MB / 0.8482 GB, free: 4 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.6087, allocations: 1.039 MB / 0.8492 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.6091, allocations: 208 kB / 0.8494 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.6124, allocations: 1.544 MB / 0.8509 GB, free: 1.207 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007817/0.6132, allocations: 0.7751 MB / 0.8517 GB, free: 440 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.6146, allocations: 1.178 MB / 0.8528 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.6197, allocations: 3.568 MB / 0.8563 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.6198, allocations: 0 / 0.8563 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6198, allocations: 4 kB / 0.8563 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.6198, allocations: 0 / 0.8563 GB, free: 11.66 MB / 0.6856 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.004545/0.6244, allocations: 2.886 MB / 0.8591 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6244, allocations: 8.031 kB / 0.8591 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.6247, allocations: 240.6 kB / 0.8593 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/0.6283, allocations: 0.5682 MB / 0.8599 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/0.6324, allocations: 3.414 MB / 0.8632 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.6325, allocations: 127.2 kB / 0.8634 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.6327, allocations: 164 kB / 0.8635 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.636, allocations: 1.88 MB / 0.8654 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.6361, allocations: 4 kB / 0.8654 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.6362, allocations: 79.98 kB / 0.8654 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.6363, allocations: 40 kB / 0.8655 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.6399, allocations: 2.065 MB / 0.8675 GB, free: 8 kB / 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.3077/0.9476, allocations: 6.192 MB / 0.8735 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.9508, allocations: 2.03 MB / 0.8755 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.9521, allocations: 0.743 MB / 0.8762 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/0.9527, allocations: 431.7 kB / 0.8767 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.9544, allocations: 0.9392 MB / 0.8776 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 4.018e-06/0.9544, allocations: 0.5625 kB / 0.8776 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006374/0.9608, allocations: 2.882 MB / 0.8804 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.9609, allocations: 195.8 kB / 0.8806 GB, free: 187 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/0.9648, allocations: 4.032 MB / 0.8845 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.965, allocations: 58.72 kB / 0.8846 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.9656, allocations: 0.8904 MB / 0.8854 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.9659, allocations: 478.5 kB / 0.8859 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.9662, allocations: 224.9 kB / 0.8861 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.9663, allocations: 347.9 kB / 0.8864 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.9673, allocations: 0.5562 MB / 0.887 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.9684, allocations: 0.7731 MB / 0.8877 GB, free: 183 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.9705, allocations: 1.284 MB / 0.889 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9706, allocations: 0 / 0.889 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003593/0.9742, allocations: 1.726 MB / 0.8907 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.9742, allocations: 5.219 kB / 0.8907 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.9742, allocations: 2.406 kB / 0.8907 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.9752, allocations: 212.1 kB / 0.8909 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.9767, allocations: 312.6 kB / 0.8912 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.9807, allocations: 7.321 MB / 0.8983 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.9822, allocations: 157.8 kB / 0.8985 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.9823, allocations: 46.12 kB / 0.8985 GB, free: 173.8 MB / 0.6856 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.0008397/0.9831, allocations: 477.6 kB / 0.899 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.9834, allocations: 192.6 kB / 0.8992 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.9874, allocations: 2.063 MB / 0.9012 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.9874, allocations: 13.75 kB / 0.9012 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.9874, allocations: 2.812 kB / 0.9012 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.9874, allocations: 7.969 kB / 0.9012 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/0.9932, allocations: 3.952 MB / 0.9051 GB, free: 170 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9933, allocations: 0 / 0.9051 GB, free: 170 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.9946, allocations: 317.2 kB / 0.9054 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008324/0.9954, allocations: 199.4 kB / 0.9056 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/0.9955, allocations: 35.09 kB / 0.9056 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.9995, allocations: 7.369 MB / 0.9128 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.9995, allocations: 0 / 0.9128 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/1.003, allocations: 1.935 MB / 0.9147 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/1.004, allocations: 0.4945 MB / 0.9152 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.004, allocations: 35.31 kB / 0.9152 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.005, allocations: 102.4 kB / 0.9153 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/1.005, allocations: 105.5 kB / 0.9154 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.006, allocations: 64.92 kB / 0.9155 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002307/1.008, allocations: 3.1 MB / 0.9185 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0 / 0.9185 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001411/1.009, allocations: 0.6519 MB / 0.9191 GB, free: 159.2 MB / 0.6856 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.00526/1.015, allocations: 3.131 MB / 0.9222 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002697/1.017, allocations: 1.99 MB / 0.9241 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.017, allocations: 12.25 kB / 0.9241 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.019, allocations: 1.379 MB / 0.9255 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.021, allocations: 0.5293 MB / 0.926 GB, free: 153.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.045, allocations: 20.75 MB / 0.9463 GB, free: 132.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/1.046, allocations: 1.509 MB / 0.9477 GB, free: 130.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001486/1.047, allocations: 0.52 MB / 0.9482 GB, free: 130.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/1.048, allocations: 0.8468 MB / 0.9491 GB, free: 129.4 MB / 0.6856 GB Notification: Performance of SimCode: time 7.12e-07/1.048, allocations: 0 / 0.9491 GB, free: 129.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08274/1.131, allocations: 47.04 MB / 0.995 GB, free: 82.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.11, allocations: 11.95 kB / 0.995 GB, free: 82.83 MB / 0.6856 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)