Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_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.001266/0.001266, allocations: 108.6 kB / 15.73 MB, free: 72 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.001248/0.001248, allocations: 189.2 kB / 16.67 MB, free: 6.613 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9641/0.9641, allocations: 135.5 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3827, allocations: 81.02 MB / 0.6649 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1903/0.573, allocations: 167 MB / 0.8279 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.5945, allocations: 17.12 MB / 0.8446 GB, free: 8.121 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.5957, allocations: 31.81 kB / 0.8447 GB, free: 8.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5971, allocations: 0.5314 MB / 0.8452 GB, free: 7.555 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.6013, allocations: 1.638 MB / 0.8468 GB, free: 5.914 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.6044, allocations: 1.397 MB / 0.8481 GB, free: 4.527 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.6074, allocations: 2.545 MB / 0.8506 GB, free: 1.973 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.6098, allocations: 1.959 MB / 0.8525 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.6135, allocations: 1.353 MB / 0.8539 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.6148, allocations: 1.031 MB / 0.8549 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.6151, allocations: 212 kB / 0.8551 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.6181, allocations: 1.548 MB / 0.8566 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007188/0.6189, allocations: 0.7673 MB / 0.8573 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.6201, allocations: 1.185 MB / 0.8585 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005303/0.6254, allocations: 3.566 MB / 0.862 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6254, allocations: 4 kB / 0.862 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6254, allocations: 0 / 0.862 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.474e-05/0.6255, allocations: 4 kB / 0.862 GB, free: 6.324 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.004633/0.6301, allocations: 2.875 MB / 0.8648 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6302, allocations: 12.02 kB / 0.8648 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/0.6304, allocations: 236.6 kB / 0.865 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.634, allocations: 0.576 MB / 0.8656 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2778/0.9119, allocations: 3.396 MB / 0.8689 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.912, allocations: 131.3 kB / 0.869 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.9122, allocations: 165.9 kB / 0.8692 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.9156, allocations: 1.888 MB / 0.871 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.9156, allocations: 1.891 kB / 0.871 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.9158, allocations: 73.16 kB / 0.8711 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.9158, allocations: 41.91 kB / 0.8711 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.9196, allocations: 2.065 MB / 0.8731 GB, free: 189.3 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.009249/0.9288, allocations: 6.208 MB / 0.8792 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.9318, allocations: 2.025 MB / 0.8812 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.933, allocations: 0.7419 MB / 0.8819 GB, free: 184 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/0.9334, allocations: 427 kB / 0.8823 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/0.9349, allocations: 0.9463 MB / 0.8832 GB, free: 183 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.046e-06/0.9349, allocations: 0 / 0.8832 GB, free: 183 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006284/0.9412, allocations: 2.884 MB / 0.8861 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.9413, allocations: 198.8 kB / 0.8863 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.9454, allocations: 4.028 MB / 0.8902 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.9456, allocations: 54.95 kB / 0.8902 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.9462, allocations: 0.8865 MB / 0.8911 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.9465, allocations: 481.6 kB / 0.8916 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.9468, allocations: 228.3 kB / 0.8918 GB, free: 178.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.9469, allocations: 349.2 kB / 0.8921 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009817/0.9479, allocations: 0.5488 MB / 0.8927 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.949, allocations: 0.767 MB / 0.8934 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.9511, allocations: 1.285 MB / 0.8947 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.9511, allocations: 0 / 0.8947 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003606/0.9547, allocations: 1.732 MB / 0.8963 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.9548, allocations: 7.531 kB / 0.8964 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9548, allocations: 1.375 kB / 0.8964 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009893/0.9558, allocations: 213.9 kB / 0.8966 GB, free: 175.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.9572, allocations: 312.5 kB / 0.8969 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/0.9613, allocations: 7.321 MB / 0.904 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.9629, allocations: 154 kB / 0.9042 GB, free: 168 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.963, allocations: 49.02 kB / 0.9042 GB, free: 168 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.0008515/0.9639, allocations: 480.6 kB / 0.9047 GB, free: 167.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.9643, allocations: 201 kB / 0.9048 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.9683, allocations: 2.059 MB / 0.9069 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9683, allocations: 11.88 kB / 0.9069 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9683, allocations: 3.938 kB / 0.9069 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.9683, allocations: 7.969 kB / 0.9069 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/0.9741, allocations: 3.945 MB / 0.9107 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.9741, allocations: 0 / 0.9107 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.9754, allocations: 314.6 kB / 0.911 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007954/0.9762, allocations: 204 kB / 0.9112 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-05/0.9763, allocations: 39.31 kB / 0.9113 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.9802, allocations: 7.353 MB / 0.9184 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9802, allocations: 4.031 kB / 0.9185 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003533/0.9838, allocations: 1.935 MB / 0.9203 GB, free: 154.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008741/0.9847, allocations: 0.4994 MB / 0.9208 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/0.9849, allocations: 35.88 kB / 0.9209 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.9861, allocations: 101.1 kB / 0.921 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.9864, allocations: 101.2 kB / 0.9211 GB, free: 153.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.9865, allocations: 71.94 kB / 0.9211 GB, free: 153.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002283/0.9888, allocations: 3.1 MB / 0.9242 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.22e-07/0.9888, allocations: 4 kB / 0.9242 GB, free: 150.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001677/0.9905, allocations: 0.6508 MB / 0.9248 GB, free: 149.8 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.005739/0.9962, allocations: 3.134 MB / 0.9279 GB, free: 146.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00307/0.9993, allocations: 2 MB / 0.9298 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.9994, allocations: 4.312 kB / 0.9298 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.001, allocations: 1.387 MB / 0.9312 GB, free: 143.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/1.004, allocations: 0.5281 MB / 0.9317 GB, free: 142.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/1.028, allocations: 20.72 MB / 0.9519 GB, free: 121.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/1.029, allocations: 1.513 MB / 0.9534 GB, free: 120.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001477/1.03, allocations: 0.5088 MB / 0.9539 GB, free: 119.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/1.031, allocations: 0.8585 MB / 0.9547 GB, free: 118.9 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/1.031, allocations: 3.938 kB / 0.9547 GB, free: 118.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08608/1.117, allocations: 47.05 MB / 1.001 GB, free: 72.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.27, allocations: 11.09 kB / 1.001 GB, free: 72.33 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)