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.005138/0.005138, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001176/0.001176, allocations: 198.6 kB / 16.68 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.267/1.267, 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/package.mo): time 0.7314/0.7314, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 80.21 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1667/0.5428, allocations: 167 MB / 0.8222 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.5664, allocations: 17.11 MB / 0.8389 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.5677, allocations: 31.81 kB / 0.839 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.5695, allocations: 0.5431 MB / 0.8395 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.5743, allocations: 1.686 MB / 0.8412 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.5777, allocations: 1.39 MB / 0.8425 GB, free: 9.793 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003122/0.5809, allocations: 2.549 MB / 0.845 GB, free: 7.238 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.5835, allocations: 1.958 MB / 0.8469 GB, free: 5.234 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.5872, allocations: 1.407 MB / 0.8483 GB, free: 3.875 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.5887, allocations: 1.027 MB / 0.8493 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.5892, allocations: 215.9 kB / 0.8495 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.5922, allocations: 1.544 MB / 0.851 GB, free: 1.086 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008038/0.593, allocations: 0.7712 MB / 0.8518 GB, free: 320 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.5947, allocations: 1.185 MB / 0.8529 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.6, allocations: 3.561 MB / 0.8564 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6, allocations: 0 / 0.8564 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.427e-06/0.6, allocations: 0 / 0.8564 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.119e-05/0.6001, allocations: 3.938 kB / 0.8564 GB, free: 11.54 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.005094/0.6052, allocations: 2.883 MB / 0.8592 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6052, allocations: 12.03 kB / 0.8592 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002881/0.6055, allocations: 240.6 kB / 0.8595 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.6093, allocations: 0.5721 MB / 0.86 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/0.6139, allocations: 3.406 MB / 0.8633 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.614, allocations: 127.2 kB / 0.8635 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.6142, allocations: 168 kB / 0.8636 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.6175, allocations: 1.888 MB / 0.8655 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.6175, allocations: 0 / 0.8655 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.6177, allocations: 76 kB / 0.8655 GB, free: 2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.6177, allocations: 40 kB / 0.8656 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.321/0.9387, allocations: 2.054 MB / 0.8676 GB, free: 193.4 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.01027/0.949, allocations: 6.206 MB / 0.8736 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.9523, allocations: 2.023 MB / 0.8756 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.9536, allocations: 0.7402 MB / 0.8763 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/0.9541, allocations: 429.8 kB / 0.8767 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.956, allocations: 0.9442 MB / 0.8777 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.076e-06/0.956, allocations: 0.5938 kB / 0.8777 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006485/0.9625, allocations: 2.886 MB / 0.8805 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.9626, allocations: 195.7 kB / 0.8807 GB, free: 187 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.9666, allocations: 4.026 MB / 0.8846 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.9668, allocations: 55.7 kB / 0.8847 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/0.9674, allocations: 0.8893 MB / 0.8855 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.9677, allocations: 472.2 kB / 0.886 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.9681, allocations: 229.9 kB / 0.8862 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.9681, allocations: 349.7 kB / 0.8865 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.9692, allocations: 0.5486 MB / 0.8871 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.9703, allocations: 0.7756 MB / 0.8878 GB, free: 183 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.9725, allocations: 1.281 MB / 0.8891 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.9725, allocations: 0 / 0.8891 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003807/0.9763, allocations: 1.73 MB / 0.8908 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.9764, allocations: 6.594 kB / 0.8908 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.9764, allocations: 3.938 kB / 0.8908 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009823/0.9774, allocations: 211.5 kB / 0.891 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.9788, allocations: 318.1 kB / 0.8913 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/0.9833, allocations: 7.322 MB / 0.8984 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.9849, allocations: 161.4 kB / 0.8986 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.335e-05/0.985, allocations: 49.47 kB / 0.8986 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.0008604/0.9859, allocations: 471.1 kB / 0.8991 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.9862, allocations: 192.2 kB / 0.8993 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.9902, allocations: 2.058 MB / 0.9013 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.9902, allocations: 14.91 kB / 0.9013 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9902, allocations: 5.594 kB / 0.9013 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.9903, allocations: 7.969 kB / 0.9013 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.9962, allocations: 3.952 MB / 0.9052 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9962, allocations: 7.391 kB / 0.9052 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9976, allocations: 312.6 kB / 0.9055 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008165/0.9984, allocations: 201 kB / 0.9057 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.9985, allocations: 47.47 kB / 0.9057 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004039/1.003, allocations: 7.35 MB / 0.9129 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.003, allocations: 0 / 0.9129 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/1.006, allocations: 1.936 MB / 0.9148 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008408/1.007, allocations: 0.5056 MB / 0.9153 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/1.007, allocations: 30.66 kB / 0.9153 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.009, allocations: 102.6 kB / 0.9154 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.009, allocations: 102.5 kB / 0.9155 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.009, allocations: 72.59 kB / 0.9156 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00235/1.011, allocations: 3.097 MB / 0.9186 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.31e-07/1.011, allocations: 0 / 0.9186 GB, free: 159.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001513/1.013, allocations: 0.6471 MB / 0.9192 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.004821/1.018, allocations: 3.133 MB / 0.9223 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002904/1.02, allocations: 1.994 MB / 0.9242 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.02, allocations: 4.312 kB / 0.9242 GB, free: 155.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.022, allocations: 1.391 MB / 0.9256 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.002111/1.024, allocations: 0.5329 MB / 0.9261 GB, free: 153.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.048, allocations: 20.73 MB / 0.9463 GB, free: 132.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/1.049, allocations: 1.513 MB / 0.9478 GB, free: 130.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001579/1.05, allocations: 0.5165 MB / 0.9483 GB, free: 130.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009257/1.051, allocations: 0.8507 MB / 0.9492 GB, free: 129.3 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/1.051, allocations: 0 / 0.9492 GB, free: 129.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/1.124, allocations: 47.05 MB / 0.9951 GB, free: 82.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.47, allocations: 16.38 kB / 0.9951 GB, free: 82.76 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)