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.001106/0.001106, allocations: 108 kB / 15.6 MB, free: 132 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.001164/0.001164, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9495/0.9495, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 60.34 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1567, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.5191/0.6758, allocations: 253.3 MB / 0.8318 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02989/0.7058, allocations: 20.58 MB / 0.8519 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.7091, allocations: 75.5 kB / 0.852 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.7116, allocations: 0.8414 MB / 0.8528 GB, free: 9.586 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00716/0.7188, allocations: 2.905 MB / 0.8557 GB, free: 6.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00689/0.7257, allocations: 2.743 MB / 0.8583 GB, free: 3.938 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005187/0.7309, allocations: 3.817 MB / 0.8621 GB, free: 112 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3633/1.094, allocations: 1.296 MB / 0.8633 GB, free: 4.812 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/1.097, allocations: 1.411 MB / 0.8647 GB, free: 4.809 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.098, allocations: 0.9913 MB / 0.8657 GB, free: 4.805 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.098, allocations: 110.5 kB / 0.8658 GB, free: 4.805 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008056/1.106, allocations: 4.172 MB / 0.8699 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008667/1.107, allocations: 0.6507 MB / 0.8705 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001388/1.109, allocations: 0.9811 MB / 0.8715 GB, free: 4.801 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006966/1.116, allocations: 4.241 MB / 0.8756 GB, free: 4.715 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.116, allocations: 2.625 kB / 0.8756 GB, free: 4.715 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/1.116, allocations: 6.047 kB / 0.8756 GB, free: 4.715 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.88e-05/1.116, allocations: 0.9688 kB / 0.8756 GB, free: 4.715 MB / 0.67 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.003825/1.12, allocations: 2.307 MB / 0.8779 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.12, allocations: 9.406 kB / 0.8779 GB, free: 19.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/1.12, allocations: 192 kB / 0.878 GB, free: 19.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/1.122, allocations: 479.8 kB / 0.8785 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/1.124, allocations: 1.262 MB / 0.8797 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/1.124, allocations: 97.72 kB / 0.8798 GB, free: 19.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/1.124, allocations: 122.8 kB / 0.8799 GB, free: 19.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/1.126, allocations: 1.721 MB / 0.8816 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/1.126, allocations: 5.875 kB / 0.8816 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.127, allocations: 53.78 kB / 0.8817 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/1.127, allocations: 60.91 kB / 0.8817 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/1.128, allocations: 1.231 MB / 0.8829 GB, free: 18.66 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.00722/1.136, allocations: 7.572 MB / 0.8903 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/1.136, allocations: 0.6599 MB / 0.891 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/1.137, allocations: 0.6234 MB / 0.8916 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/1.139, allocations: 1.864 MB / 0.8934 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/1.139, allocations: 50.42 kB / 0.8935 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.895e-06/1.139, allocations: 0 / 0.8935 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.002672/1.142, allocations: 1.403 MB / 0.8948 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.142, allocations: 293.2 kB / 0.8951 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.144, allocations: 1.893 MB / 0.897 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.145, allocations: 41.55 kB / 0.897 GB, free: 11 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/1.145, allocations: 0.7276 MB / 0.8977 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/1.145, allocations: 245.3 kB / 0.8979 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.146, allocations: 141.5 kB / 0.8981 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.146, allocations: 327.5 kB / 0.8984 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/1.146, allocations: 327.8 kB / 0.8987 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/1.147, allocations: 0.5612 MB / 0.8993 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.148, allocations: 0.8656 MB / 0.9001 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.148, allocations: 1.719 kB / 0.9001 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001579/1.15, allocations: 1.009 MB / 0.9011 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.15, allocations: 10.53 kB / 0.9011 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.15, allocations: 3.828 kB / 0.9011 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/1.15, allocations: 11.38 kB / 0.9011 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/1.15, allocations: 119.7 kB / 0.9012 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.15, allocations: 10.17 kB / 0.9012 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008803/1.151, allocations: 130.3 kB / 0.9014 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.151, allocations: 46.7 kB / 0.9014 GB, free: 9.906 MB / 0.6856 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.0007618/1.152, allocations: 455.5 kB / 0.9018 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/1.152, allocations: 191.9 kB / 0.902 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.154, allocations: 1.088 MB / 0.9031 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/1.154, allocations: 11.52 kB / 0.9031 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.154, allocations: 4.844 kB / 0.9031 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.154, allocations: 7.453 kB / 0.9031 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.166, allocations: 8.935 MB / 0.9118 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/1.167, allocations: 15.06 kB / 0.9118 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/1.167, allocations: 146.6 kB / 0.912 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.167, allocations: 19.97 kB / 0.912 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/1.167, allocations: 35.98 kB / 0.912 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/1.167, allocations: 33.09 kB / 0.9121 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/1.167, allocations: 24.38 kB / 0.9121 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.169, allocations: 1.67 MB / 0.9137 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/1.17, allocations: 415.2 kB / 0.9141 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/1.17, allocations: 42.39 kB / 0.9142 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/1.17, allocations: 25.44 kB / 0.9142 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.171, allocations: 106 kB / 0.9143 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/1.171, allocations: 54.69 kB / 0.9143 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001612/1.172, allocations: 1.32 MB / 0.9156 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/1.172, allocations: 0 / 0.9156 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001802/1.174, allocations: 0.528 MB / 0.9161 GB, free: 5.586 MB / 0.6856 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.004121/1.178, allocations: 3.025 MB / 0.9191 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001152/1.179, allocations: 0.8572 MB / 0.9199 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.179, allocations: 2.844 kB / 0.9199 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005035/1.18, allocations: 487.7 kB / 0.9204 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005697/1.186, allocations: 1.352 MB / 0.9217 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.204, allocations: 15.61 MB / 0.937 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009355/1.205, allocations: 1.403 MB / 0.9383 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001642/1.207, allocations: 486.9 kB / 0.9388 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006627/1.207, allocations: 0.6561 MB / 0.9394 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of SimCode: time 1.242e-06/1.207, allocations: 4 kB / 0.9394 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0973/1.305, allocations: 60.86 MB / 0.9989 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.918, allocations: 7.938 kB / 0.9989 GB, free: 6.332 MB / 0.7481 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)