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.007927/0.007927, allocations: 99.28 kB / 15.73 MB, free: 6.059 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.002074/0.002075, allocations: 196.9 kB / 16.68 MB, free: 5.977 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.422/1.422, 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.9572/0.9572, allocations: 135.6 MB / 426.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 67.89 kB / 0.5857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3827, allocations: 81.02 MB / 0.6649 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Boundary): time 0.6403/1.023, allocations: 253.3 MB / 0.9122 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01986/1.043, allocations: 20.6 MB / 0.9323 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/1.046, allocations: 74.53 kB / 0.9324 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/1.048, allocations: 0.8333 MB / 0.9332 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007151/1.055, allocations: 2.92 MB / 0.9361 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005884/1.061, allocations: 2.745 MB / 0.9388 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004798/1.066, allocations: 3.826 MB / 0.9425 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/1.068, allocations: 1.297 MB / 0.9438 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/1.071, allocations: 1.427 MB / 0.9452 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.072, allocations: 0.9829 MB / 0.9461 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/1.072, allocations: 108.4 kB / 0.9462 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008411/1.081, allocations: 3.967 MB / 0.9501 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009694/1.082, allocations: 0.6414 MB / 0.9507 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/1.083, allocations: 0.9816 MB / 0.9517 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008112/1.091, allocations: 4.214 MB / 0.9558 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.091, allocations: 3.219 kB / 0.9558 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/1.091, allocations: 0 / 0.9558 GB, free: 12 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.702e-05/1.091, allocations: 4 kB / 0.9558 GB, free: 8 kB / 0.6856 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.003398/1.095, allocations: 2.367 MB / 0.9581 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.095, allocations: 7.531 kB / 0.9581 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/1.095, allocations: 196.3 kB / 0.9583 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/1.097, allocations: 492.8 kB / 0.9588 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/1.099, allocations: 1.387 MB / 0.9601 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/1.099, allocations: 92.06 kB / 0.9602 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.099, allocations: 125.7 kB / 0.9603 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/1.102, allocations: 1.721 MB / 0.962 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.102, allocations: 5.125 kB / 0.962 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.102, allocations: 53.94 kB / 0.9621 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.608e-05/1.102, allocations: 64.03 kB / 0.9621 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/1.104, allocations: 1.23 MB / 0.9633 GB, free: 13.25 MB / 0.7012 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.007822/1.112, allocations: 7.54 MB / 0.9707 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/1.113, allocations: 0.6624 MB / 0.9713 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006526/1.113, allocations: 0.6185 MB / 0.9719 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/1.115, allocations: 1.875 MB / 0.9738 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.115, allocations: 61.27 kB / 0.9738 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/1.115, allocations: 0 / 0.9738 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72): time 0.002243/1.117, allocations: 1.394 MB / 0.9752 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.117, allocations: 295.3 kB / 0.9755 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/1.12, allocations: 1.89 MB / 0.9773 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/1.12, allocations: 46.67 kB / 0.9774 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006771/1.12, allocations: 0.7363 MB / 0.9781 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.12, allocations: 257.1 kB / 0.9783 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.121, allocations: 131.9 kB / 0.9785 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.121, allocations: 330.9 kB / 0.9788 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/1.121, allocations: 333.9 kB / 0.9791 GB, free: 372 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/1.122, allocations: 0.5632 MB / 0.9796 GB, free: 20 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009755/1.123, allocations: 0.8634 MB / 0.9805 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.123, allocations: 0 / 0.9805 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001315/1.124, allocations: 1.024 MB / 0.9815 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.124, allocations: 7.25 kB / 0.9815 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.124, allocations: 3.375 kB / 0.9815 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.124, allocations: 7.938 kB / 0.9815 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/1.125, allocations: 127.3 kB / 0.9816 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.125, allocations: 5.5 kB / 0.9816 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/1.125, allocations: 131.4 kB / 0.9818 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/1.125, allocations: 46.23 kB / 0.9818 GB, free: 14.89 MB / 0.7169 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.000585/1.126, allocations: 456.8 kB / 0.9822 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/1.126, allocations: 210.6 kB / 0.9824 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/1.128, allocations: 1.076 MB / 0.9835 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/1.128, allocations: 16.27 kB / 0.9835 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.128, allocations: 4 kB / 0.9835 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.128, allocations: 3.984 kB / 0.9835 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.139, allocations: 8.769 MB / 0.9921 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/1.139, allocations: 16 kB / 0.9921 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/1.14, allocations: 140.7 kB / 0.9922 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/1.14, allocations: 20.75 kB / 0.9922 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/1.14, allocations: 35.98 kB / 0.9923 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-05/1.14, allocations: 35.58 kB / 0.9923 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.641e-05/1.14, allocations: 25.06 kB / 0.9923 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.142, allocations: 1.678 MB / 0.994 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/1.143, allocations: 423.5 kB / 0.9944 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.143, allocations: 35.98 kB / 0.9944 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/1.144, allocations: 28 kB / 0.9944 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.144, allocations: 108.4 kB / 0.9945 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/1.144, allocations: 55.98 kB / 0.9946 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001732/1.146, allocations: 1.316 MB / 0.9959 GB, free: 44 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.146, allocations: 4 kB / 0.9959 GB, free: 40 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001636/1.147, allocations: 0.5146 MB / 0.9964 GB, free: 15.52 MB / 0.7325 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.004084/1.151, allocations: 3.035 MB / 0.9994 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001278/1.153, allocations: 0.8459 MB / 1 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.153, allocations: 4 kB / 1 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006442/1.153, allocations: 485.8 kB / 1.001 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005678/1.159, allocations: 1.344 MB / 1.002 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/1.177, allocations: 13.91 MB / 1.016 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/1.179, allocations: 1.41 MB / 1.017 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001567/1.18, allocations: 493.1 kB / 1.017 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008416/1.181, allocations: 0.6555 MB / 1.018 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of SimCode: time 1.263e-06/1.181, allocations: 4 kB / 1.018 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.286, allocations: 60.07 MB / 1.077 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.78, allocations: 4 kB / 1.077 GB, free: 13.23 MB / 0.8106 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)