Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Boundary,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Boundary,fileNamePrefix="IDEAS_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.001652/0.001652, 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.002127/0.002127, allocations: 192 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.802/0.802, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 68.48 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1583, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.5195/0.6779, allocations: 253.3 MB / 0.8276 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02627/0.7042, allocations: 20.58 MB / 0.8477 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.7064, allocations: 71.5 kB / 0.8477 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.7087, allocations: 0.8298 MB / 0.8485 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.7162, allocations: 2.916 MB / 0.8514 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007042/0.7233, allocations: 2.732 MB / 0.8541 GB, free: 9.945 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005662/0.729, allocations: 3.814 MB / 0.8578 GB, free: 6.121 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.7312, allocations: 1.311 MB / 0.8591 GB, free: 4.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.7342, allocations: 1.43 MB / 0.8605 GB, free: 3.367 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.7362, allocations: 0.9837 MB / 0.8614 GB, free: 2.379 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003558/0.7365, allocations: 108 kB / 0.8615 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3649/1.101, allocations: 4.174 MB / 0.8656 GB, free: 8.145 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006281/1.102, allocations: 0.6463 MB / 0.8662 GB, free: 8.145 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/1.103, allocations: 0.9807 MB / 0.8672 GB, free: 8.145 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006017/1.109, allocations: 4.245 MB / 0.8713 GB, free: 8.059 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.109, allocations: 1.219 kB / 0.8713 GB, free: 8.059 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.485e-06/1.109, allocations: 0.7812 kB / 0.8713 GB, free: 8.059 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.263e-05/1.109, allocations: 5.625 kB / 0.8713 GB, free: 8.059 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.002934/1.112, allocations: 2.298 MB / 0.8736 GB, free: 7.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.112, allocations: 14.38 kB / 0.8736 GB, free: 7.039 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/1.113, allocations: 193.2 kB / 0.8738 GB, free: 6.996 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/1.115, allocations: 483.2 kB / 0.8742 GB, free: 6.887 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/1.116, allocations: 1.266 MB / 0.8755 GB, free: 6.449 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/1.116, allocations: 99.27 kB / 0.8756 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.117, allocations: 123.8 kB / 0.8757 GB, free: 6.445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/1.119, allocations: 1.717 MB / 0.8774 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.119, allocations: 8.781 kB / 0.8774 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/1.119, allocations: 53.69 kB / 0.8774 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-05/1.119, allocations: 67.59 kB / 0.8775 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/1.12, allocations: 1.215 MB / 0.8787 GB, free: 6.078 MB / 0.67 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.006415/1.127, allocations: 7.579 MB / 0.8861 GB, free: 17.58 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/1.128, allocations: 0.6592 MB / 0.8867 GB, free: 17.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/1.128, allocations: 0.6235 MB / 0.8873 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/1.13, allocations: 1.869 MB / 0.8892 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.13, allocations: 49.84 kB / 0.8892 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/1.13, allocations: 1.031 kB / 0.8892 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72): time 0.002411/1.132, allocations: 1.389 MB / 0.8906 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.132, allocations: 301 kB / 0.8909 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/1.135, allocations: 1.887 MB / 0.8927 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/1.135, allocations: 42.17 kB / 0.8927 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/1.135, allocations: 0.7339 MB / 0.8935 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/1.135, allocations: 245.2 kB / 0.8937 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.136, allocations: 128.9 kB / 0.8938 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.136, allocations: 332.5 kB / 0.8941 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/1.136, allocations: 326.5 kB / 0.8944 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/1.137, allocations: 0.5653 MB / 0.895 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009441/1.138, allocations: 0.8565 MB / 0.8958 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.138, allocations: 2.312 kB / 0.8958 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001487/1.139, allocations: 1.013 MB / 0.8968 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.139, allocations: 11.69 kB / 0.8968 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.139, allocations: 4.531 kB / 0.8968 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.139, allocations: 10.66 kB / 0.8968 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/1.14, allocations: 125.5 kB / 0.897 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.14, allocations: 10.06 kB / 0.897 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/1.141, allocations: 126.2 kB / 0.8971 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.681e-05/1.141, allocations: 45.56 kB / 0.8971 GB, free: 13.36 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.0006085/1.141, allocations: 456.4 kB / 0.8976 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/1.142, allocations: 192.6 kB / 0.8978 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/1.143, allocations: 1.091 MB / 0.8988 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.143, allocations: 11.92 kB / 0.8988 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.143, allocations: 3.891 kB / 0.8988 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.143, allocations: 6.172 kB / 0.8988 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.155, allocations: 8.941 MB / 0.9076 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.155, allocations: 16.5 kB / 0.9076 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/1.155, allocations: 140.9 kB / 0.9077 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/1.155, allocations: 20.41 kB / 0.9077 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/1.155, allocations: 37.69 kB / 0.9078 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.379e-05/1.156, allocations: 29.81 kB / 0.9078 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/1.156, allocations: 23.72 kB / 0.9078 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.157, allocations: 1.674 MB / 0.9095 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/1.158, allocations: 413.5 kB / 0.9099 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/1.158, allocations: 36.22 kB / 0.9099 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/1.159, allocations: 28.03 kB / 0.9099 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.159, allocations: 99.56 kB / 0.91 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/1.159, allocations: 56.19 kB / 0.9101 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001707/1.161, allocations: 1.319 MB / 0.9114 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.01e-07/1.161, allocations: 1.719 kB / 0.9114 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001891/1.163, allocations: 0.5304 MB / 0.9119 GB, free: 9.039 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.00413/1.167, allocations: 3.016 MB / 0.9148 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001203/1.168, allocations: 0.8603 MB / 0.9157 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.168, allocations: 2.406 kB / 0.9157 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/1.169, allocations: 492.9 kB / 0.9161 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/1.174, allocations: 1.349 MB / 0.9174 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.193, allocations: 15.62 MB / 0.9327 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009245/1.194, allocations: 1.407 MB / 0.9341 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001701/1.196, allocations: 480.6 kB / 0.9345 GB, free: 36 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006564/1.196, allocations: 0.6586 MB / 0.9352 GB, free: 24 kB / 0.6856 GB Notification: Performance of SimCode: time 1.392e-06/1.196, allocations: 0 / 0.9352 GB, free: 24 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09919/1.295, allocations: 60.85 MB / 0.9946 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/9.888, allocations: 7.938 kB / 0.9946 GB, free: 14.78 MB / 0.7481 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Validation_Boundary.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Boundary.pipe 2>&1)