Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary",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.00669/0.00669, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001653/0.001653, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7787/0.7787, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.27 kB / 0.5851 GB, free: 22.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1576, allocations: 80.92 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.5978/0.7554, allocations: 253.3 MB / 0.9115 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02314/0.7786, allocations: 20.58 MB / 0.9316 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.782, allocations: 79.44 kB / 0.9317 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.7841, allocations: 0.8298 MB / 0.9325 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006662/0.7908, allocations: 3.048 MB / 0.9355 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005822/0.7966, allocations: 2.791 MB / 0.9382 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004518/0.8012, allocations: 3.832 MB / 0.942 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.8027, allocations: 1.297 MB / 0.9432 GB, free: 1.605 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.805, allocations: 1.46 MB / 0.9446 GB, free: 148 kB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009655/0.806, allocations: 0.9876 MB / 0.9456 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.8061, allocations: 108 kB / 0.9457 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/0.8133, allocations: 3.962 MB / 0.9496 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/0.8138, allocations: 0.6582 MB / 0.9502 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.8148, allocations: 0.9756 MB / 0.9512 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.8202, allocations: 4.217 MB / 0.9553 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.8202, allocations: 0 / 0.9553 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8202, allocations: 0 / 0.9553 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.467e-05/0.8202, allocations: 4 kB / 0.9553 GB, free: 5.199 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002857/0.8231, allocations: 2.362 MB / 0.9576 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8231, allocations: 21.05 kB / 0.9576 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.8233, allocations: 198 kB / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.8253, allocations: 490.2 kB / 0.9583 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.8273, allocations: 1.385 MB / 0.9596 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.8274, allocations: 98.44 kB / 0.9597 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.8276, allocations: 116 kB / 0.9598 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.8298, allocations: 1.727 MB / 0.9615 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.8298, allocations: 7.938 kB / 0.9615 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.8299, allocations: 59.94 kB / 0.9616 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/0.83, allocations: 59.98 kB / 0.9616 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.8316, allocations: 1.222 MB / 0.9628 GB, free: 13.21 MB / 0.7325 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.006282/0.8379, allocations: 7.543 MB / 0.9702 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.8387, allocations: 0.6662 MB / 0.9709 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/0.8393, allocations: 0.6213 MB / 0.9715 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.8407, allocations: 1.872 MB / 0.9733 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.8408, allocations: 46.5 kB / 0.9733 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.8408, allocations: 0 / 0.9733 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002206/0.843, allocations: 1.404 MB / 0.9747 GB, free: 128 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.8431, allocations: 294.7 kB / 0.975 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.8452, allocations: 1.896 MB / 0.9768 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.8453, allocations: 41.7 kB / 0.9769 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.8458, allocations: 0.7333 MB / 0.9776 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.846, allocations: 257.8 kB / 0.9778 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.8462, allocations: 134.2 kB / 0.978 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.8463, allocations: 330 kB / 0.9783 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.8467, allocations: 325.1 kB / 0.9786 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.8473, allocations: 0.5703 MB / 0.9792 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.8483, allocations: 0.8644 MB / 0.98 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8483, allocations: 0 / 0.98 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001254/0.8495, allocations: 1.019 MB / 0.981 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.8496, allocations: 9.562 kB / 0.981 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8496, allocations: 4.125 kB / 0.981 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.8496, allocations: 8 kB / 0.981 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.85, allocations: 119.8 kB / 0.9811 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.85, allocations: 15.92 kB / 0.9811 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.8507, allocations: 130.8 kB / 0.9813 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.8508, allocations: 47.98 kB / 0.9813 GB, free: 9.121 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005398/0.8514, allocations: 453.5 kB / 0.9817 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.8517, allocations: 198.7 kB / 0.9819 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.8532, allocations: 1.083 MB / 0.983 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.8532, allocations: 16 kB / 0.983 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8532, allocations: 0.5 kB / 0.983 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8532, allocations: 11.92 kB / 0.983 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009987/0.8632, allocations: 8.765 MB / 0.9916 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/0.8633, allocations: 12 kB / 0.9916 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.8637, allocations: 143.8 kB / 0.9917 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.8637, allocations: 23.94 kB / 0.9917 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/0.8638, allocations: 32 kB / 0.9918 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.021e-05/0.8638, allocations: 31.86 kB / 0.9918 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.8638, allocations: 19.94 kB / 0.9918 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.8655, allocations: 1.693 MB / 0.9935 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.8662, allocations: 431.4 kB / 0.9939 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.8665, allocations: 35.98 kB / 0.9939 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.8672, allocations: 24 kB / 0.994 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.8673, allocations: 107.5 kB / 0.9941 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.8674, allocations: 51.98 kB / 0.9941 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001504/0.8689, allocations: 1.316 MB / 0.9954 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8689, allocations: 3.938 kB / 0.9954 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001515/0.8704, allocations: 0.5223 MB / 0.9959 GB, free: 9.395 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003489/0.8739, allocations: 3.009 MB / 0.9988 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.875, allocations: 0.8611 MB / 0.9997 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.875, allocations: 0 / 0.9997 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.8756, allocations: 495 kB / 1 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/0.881, allocations: 1.337 MB / 1.001 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.8968, allocations: 13.91 MB / 1.015 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000907/0.8977, allocations: 1.402 MB / 1.016 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0013/0.899, allocations: 482.7 kB / 1.017 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006973/0.8997, allocations: 0.6594 MB / 1.018 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.8997, allocations: 0 / 1.018 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3967/1.296, allocations: 60.06 MB / 1.076 GB, free: 326.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.44, allocations: 3.812 kB / 1.076 GB, free: 326.5 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1)