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.004665/0.004665, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001246/0.001246, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 66.83 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5774/0.7375, allocations: 214 MB / 0.8682 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.75, allocations: 12.16 MB / 0.8801 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.7519, allocations: 46.03 kB / 0.8801 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.7533, allocations: 0.5107 MB / 0.8806 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.7583, allocations: 1.889 MB / 0.8825 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.7628, allocations: 1.905 MB / 0.8843 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003286/0.7661, allocations: 2.351 MB / 0.8866 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.7678, allocations: 1.233 MB / 0.8878 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.7694, allocations: 0.8219 MB / 0.8886 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.7701, allocations: 0.6638 MB / 0.8893 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.7703, allocations: 91.81 kB / 0.8894 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005266/0.7755, allocations: 2.697 MB / 0.892 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.7761, allocations: 0.5379 MB / 0.8925 GB, free: 332 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008417/0.7769, allocations: 0.7396 MB / 0.8933 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.7826, allocations: 3.153 MB / 0.8963 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7826, allocations: 0 / 0.8963 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7827, allocations: 0 / 0.8963 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.7827, allocations: 4 kB / 0.8963 GB, free: 15.03 MB / 0.6544 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.002627/0.7853, allocations: 1.798 MB / 0.8981 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.7854, allocations: 10.19 kB / 0.8981 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.7856, allocations: 169.1 kB / 0.8983 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.7872, allocations: 381.2 kB / 0.8986 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.7887, allocations: 0.9763 MB / 0.8996 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.7888, allocations: 77.81 kB / 0.8997 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.7889, allocations: 100.5 kB / 0.8997 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.7909, allocations: 1.53 MB / 0.9012 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.791, allocations: 5.188 kB / 0.9012 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.7911, allocations: 49.2 kB / 0.9013 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.7911, allocations: 64.44 kB / 0.9014 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7924, allocations: 1.026 MB / 0.9024 GB, free: 11.9 MB / 0.6544 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.006115/0.7986, allocations: 5.869 MB / 0.9081 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.7992, allocations: 318.9 kB / 0.9084 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.7994, allocations: 248.8 kB / 0.9086 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007598/0.8002, allocations: 0.7114 MB / 0.9093 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.8003, allocations: 39.19 kB / 0.9094 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.315e-06/0.8003, allocations: 0 / 0.9094 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.00129/0.8016, allocations: 0.676 MB / 0.91 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.8017, allocations: 131.9 kB / 0.9101 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.8036, allocations: 1.682 MB / 0.9118 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.8036, allocations: 36.36 kB / 0.9118 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/0.8042, allocations: 0.5612 MB / 0.9124 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.8043, allocations: 97.5 kB / 0.9125 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.8044, allocations: 68.98 kB / 0.9125 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8046, allocations: 320.5 kB / 0.9128 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.8048, allocations: 162.6 kB / 0.913 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.8052, allocations: 265.7 kB / 0.9132 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.8057, allocations: 413.2 kB / 0.9136 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8057, allocations: 1.094 kB / 0.9136 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007747/0.8065, allocations: 0.5516 MB / 0.9142 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8065, allocations: 5.25 kB / 0.9142 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8065, allocations: 3.594 kB / 0.9142 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.8066, allocations: 8.719 kB / 0.9142 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.8068, allocations: 53.2 kB / 0.9142 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8068, allocations: 5.344 kB / 0.9143 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.8073, allocations: 109.5 kB / 0.9144 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.8074, allocations: 18.12 kB / 0.9144 GB, free: 2.816 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.0004381/0.8078, allocations: 380.6 kB / 0.9147 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.808, allocations: 147.1 kB / 0.9149 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.8086, allocations: 387.5 kB / 0.9152 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.8086, allocations: 2.75 kB / 0.9152 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8086, allocations: 0 / 0.9152 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8086, allocations: 2.406 kB / 0.9153 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.8118, allocations: 2.521 MB / 0.9177 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.8118, allocations: 11.47 kB / 0.9177 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.812, allocations: 50.84 kB / 0.9178 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.812, allocations: 7.812 kB / 0.9178 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.8121, allocations: 12.09 kB / 0.9178 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.8121, allocations: 14.09 kB / 0.9178 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.8121, allocations: 14.41 kB / 0.9178 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.8128, allocations: 0.6392 MB / 0.9184 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004226/0.8133, allocations: 306 kB / 0.9187 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.8134, allocations: 18.5 kB / 0.9188 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.8138, allocations: 14.78 kB / 0.9188 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.8138, allocations: 38.97 kB / 0.9188 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.8139, allocations: 13.62 kB / 0.9188 GB, free: 15.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001575/0.8155, allocations: 1.23 MB / 0.92 GB, free: 14.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8155, allocations: 0 / 0.92 GB, free: 14.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001001/0.8165, allocations: 327.4 kB / 0.9203 GB, free: 14.08 MB / 0.67 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.002439/0.8189, allocations: 1.667 MB / 0.922 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000605/0.8195, allocations: 345.6 kB / 0.9223 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.8195, allocations: 8.375 kB / 0.9223 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.8198, allocations: 157.8 kB / 0.9224 GB, free: 11.88 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/0.8236, allocations: 0.9334 MB / 0.9234 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.838, allocations: 10.52 MB / 0.9336 GB, free: 248 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/0.839, allocations: 1.204 MB / 0.9348 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009758/0.84, allocations: 302.7 kB / 0.9351 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.8406, allocations: 463.3 kB / 0.9355 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/0.8406, allocations: 0 / 0.9355 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08218/0.9228, allocations: 44.02 MB / 0.9785 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.966/10.89, allocations: 9.906 kB / 0.9785 GB, free: 2.75 MB / 0.7169 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)