Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.001262/0.001262, allocations: 108 kB / 15.61 MB, free: 152 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.00126/0.00126, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.78/0.78, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 60.75 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4052, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2231/0.6283, allocations: 214.1 MB / 0.7892 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01537/0.6438, allocations: 12.16 MB / 0.8011 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.6454, allocations: 43.69 kB / 0.8011 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.647, allocations: 0.508 MB / 0.8016 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.6521, allocations: 1.874 MB / 0.8035 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004592/0.6567, allocations: 1.899 MB / 0.8053 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.6598, allocations: 2.34 MB / 0.8076 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.6618, allocations: 1.252 MB / 0.8088 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.6636, allocations: 0.8171 MB / 0.8096 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.665, allocations: 0.6573 MB / 0.8103 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.6654, allocations: 91.98 kB / 0.8104 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006214/0.6716, allocations: 2.859 MB / 0.8132 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006829/0.6723, allocations: 0.5338 MB / 0.8137 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.6736, allocations: 0.7386 MB / 0.8144 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.3212/0.9948, allocations: 3.156 MB / 0.8175 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.9949, allocations: 0.6562 kB / 0.8175 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9949, allocations: 0 / 0.8175 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.838e-05/0.9949, allocations: 0 / 0.8175 GB, free: 9.215 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.0035/0.9984, allocations: 1.748 MB / 0.8192 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.9985, allocations: 11.42 kB / 0.8192 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/0.9987, allocations: 169.9 kB / 0.8194 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/1.001, allocations: 372.8 kB / 0.8197 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/1.002, allocations: 0.8938 MB / 0.8206 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/1.002, allocations: 75.78 kB / 0.8207 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.002, allocations: 104.5 kB / 0.8208 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/1.004, allocations: 1.536 MB / 0.8223 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.004, allocations: 5.312 kB / 0.8223 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/1.004, allocations: 48.36 kB / 0.8223 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-05/1.004, allocations: 62.39 kB / 0.8224 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/1.006, allocations: 1.025 MB / 0.8234 GB, free: 7.645 MB / 0.6387 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.005989/1.012, allocations: 5.96 MB / 0.8292 GB, free: 20.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/1.012, allocations: 319.5 kB / 0.8295 GB, free: 20.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/1.013, allocations: 251.3 kB / 0.8297 GB, free: 20.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/1.013, allocations: 0.7072 MB / 0.8304 GB, free: 19.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.013, allocations: 43.89 kB / 0.8305 GB, free: 19.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/1.013, allocations: 1.531 kB / 0.8305 GB, free: 19.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.00129/1.015, allocations: 0.6682 MB / 0.8311 GB, free: 19.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/1.015, allocations: 133.2 kB / 0.8312 GB, free: 19.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/1.017, allocations: 1.68 MB / 0.8329 GB, free: 18.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/1.017, allocations: 34.95 kB / 0.8329 GB, free: 18.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/1.017, allocations: 0.5617 MB / 0.8335 GB, free: 18.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.2e-05/1.017, allocations: 96.64 kB / 0.8336 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/1.017, allocations: 72.31 kB / 0.8336 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/1.017, allocations: 319.1 kB / 0.8339 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.018, allocations: 154.5 kB / 0.8341 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/1.018, allocations: 267.7 kB / 0.8343 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/1.018, allocations: 419.7 kB / 0.8347 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.018, allocations: 2.406 kB / 0.8347 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007411/1.019, allocations: 0.5363 MB / 0.8353 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.019, allocations: 8.781 kB / 0.8353 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.019, allocations: 4.016 kB / 0.8353 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.019, allocations: 3.656 kB / 0.8353 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/1.019, allocations: 61.92 kB / 0.8353 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.019, allocations: 3.5 kB / 0.8353 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/1.02, allocations: 106.3 kB / 0.8354 GB, free: 17.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/1.02, allocations: 23.56 kB / 0.8355 GB, free: 17.99 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.000421/1.02, allocations: 378.7 kB / 0.8358 GB, free: 17.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.021, allocations: 135.4 kB / 0.836 GB, free: 17.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/1.021, allocations: 389.8 kB / 0.8363 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.021, allocations: 7.625 kB / 0.8363 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.021, allocations: 5.531 kB / 0.8363 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.021, allocations: 4.109 kB / 0.8363 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/1.024, allocations: 2.603 MB / 0.8389 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.024, allocations: 6 kB / 0.8389 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.025, allocations: 56.03 kB / 0.8389 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.025, allocations: 6.844 kB / 0.839 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.025, allocations: 17.34 kB / 0.839 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.025, allocations: 14.12 kB / 0.839 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.025, allocations: 5.625 kB / 0.839 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/1.025, allocations: 0.6165 MB / 0.8396 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/1.026, allocations: 304.3 kB / 0.8399 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.026, allocations: 14.56 kB / 0.8399 GB, free: 16.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/1.026, allocations: 16.38 kB / 0.8399 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/1.026, allocations: 36.14 kB / 0.8399 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.026, allocations: 15.84 kB / 0.84 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001246/1.027, allocations: 1.225 MB / 0.8412 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 0 / 0.8412 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001177/1.029, allocations: 332.8 kB / 0.8415 GB, free: 16.07 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.002381/1.031, allocations: 1.688 MB / 0.8431 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004785/1.032, allocations: 355.4 kB / 0.8435 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.032, allocations: 3.188 kB / 0.8435 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.032, allocations: 160.6 kB / 0.8436 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/1.035, allocations: 0.9109 MB / 0.8445 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.048, allocations: 11.54 MB / 0.8558 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/1.048, allocations: 1.214 MB / 0.857 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001107/1.05, allocations: 295.6 kB / 0.8572 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/1.05, allocations: 463.9 kB / 0.8577 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/1.05, allocations: 0 / 0.8577 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06993/1.12, allocations: 43.12 MB / 0.8998 GB, free: 4.84 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/9.321, allocations: 7.047 kB / 0.8998 GB, free: 4.836 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in_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_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)