Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_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.BoundaryWithXi_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_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.007538/0.007538, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001801/0.001801, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.62 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.14, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5398/0.6798, allocations: 214.1 MB / 0.8682 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.6914, allocations: 12.15 MB / 0.8801 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.6929, allocations: 43.69 kB / 0.8801 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.694, allocations: 0.5072 MB / 0.8806 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.6982, allocations: 1.97 MB / 0.8826 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.7021, allocations: 1.93 MB / 0.8844 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001932/0.704, allocations: 2.383 MB / 0.8868 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.7051, allocations: 1.203 MB / 0.8879 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008426/0.706, allocations: 0.8407 MB / 0.8888 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005094/0.7065, allocations: 0.6526 MB / 0.8894 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.7066, allocations: 90.81 kB / 0.8895 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.7104, allocations: 2.713 MB / 0.8921 GB, free: 448 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.7107, allocations: 0.5415 MB / 0.8927 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.7114, allocations: 0.7398 MB / 0.8934 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.7146, allocations: 3.129 MB / 0.8964 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.7147, allocations: 0 / 0.8964 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7147, allocations: 3.312 kB / 0.8964 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.7147, allocations: 0 / 0.8964 GB, free: 15.01 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00204/0.7167, allocations: 1.78 MB / 0.8982 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7168, allocations: 14.78 kB / 0.8982 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.717, allocations: 172.7 kB / 0.8984 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.7185, allocations: 372 kB / 0.8987 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.72, allocations: 0.9698 MB / 0.8997 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.72, allocations: 76.41 kB / 0.8997 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.7202, allocations: 100.8 kB / 0.8998 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.722, allocations: 1.508 MB / 0.9013 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.722, allocations: 2.438 kB / 0.9013 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.7221, allocations: 51.14 kB / 0.9014 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.7222, allocations: 58.56 kB / 0.9014 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.7235, allocations: 1.018 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.005663/0.7291, allocations: 5.83 MB / 0.9081 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.7297, allocations: 327 kB / 0.9084 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.73, allocations: 249.6 kB / 0.9086 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007069/0.7307, allocations: 0.716 MB / 0.9093 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.7307, allocations: 37.97 kB / 0.9094 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.7307, allocations: 0 / 0.9094 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001272/0.732, allocations: 0.6791 MB / 0.91 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.7321, allocations: 133.2 kB / 0.9102 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.7338, allocations: 1.653 MB / 0.9118 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.7339, allocations: 32.2 kB / 0.9118 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/0.7344, allocations: 0.5536 MB / 0.9124 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.7344, allocations: 101.5 kB / 0.9125 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.7346, allocations: 73.53 kB / 0.9125 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7347, allocations: 317.8 kB / 0.9128 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.7349, allocations: 163.4 kB / 0.913 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.7353, allocations: 296.4 kB / 0.9133 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.7358, allocations: 430.8 kB / 0.9137 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7358, allocations: 2.406 kB / 0.9137 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006817/0.7365, allocations: 0.5686 MB / 0.9142 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7365, allocations: 8.25 kB / 0.9142 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7365, allocations: 6.531 kB / 0.9143 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7365, allocations: 4.656 kB / 0.9143 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.7368, allocations: 60.84 kB / 0.9143 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.7368, allocations: 4.094 kB / 0.9143 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.7373, allocations: 111.2 kB / 0.9144 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.7373, allocations: 23.52 kB / 0.9144 GB, free: 2.789 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.000376/0.7377, allocations: 379.8 kB / 0.9148 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.7379, allocations: 146.2 kB / 0.9149 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.7384, allocations: 392.6 kB / 0.9153 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.7384, allocations: 3.312 kB / 0.9153 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7384, allocations: 0 / 0.9153 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.7384, allocations: 0 / 0.9153 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.7414, allocations: 2.52 MB / 0.9178 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7414, allocations: 5.688 kB / 0.9178 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.7416, allocations: 48.64 kB / 0.9178 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.7416, allocations: 8.531 kB / 0.9178 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.7416, allocations: 16.92 kB / 0.9179 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.7416, allocations: 8.906 kB / 0.9179 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7416, allocations: 10.44 kB / 0.9179 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.7423, allocations: 0.6326 MB / 0.9185 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.7427, allocations: 293.9 kB / 0.9188 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7429, allocations: 17.36 kB / 0.9188 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.7432, allocations: 14.59 kB / 0.9188 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.7433, allocations: 34.55 kB / 0.9188 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.7433, allocations: 19.59 kB / 0.9189 GB, free: 15.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001367/0.7447, allocations: 1.212 MB / 0.92 GB, free: 14.39 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7447, allocations: 0 / 0.92 GB, free: 14.39 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000882/0.7456, allocations: 327.4 kB / 0.9204 GB, free: 14.07 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.002015/0.7476, allocations: 1.674 MB / 0.922 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.7481, allocations: 358 kB / 0.9223 GB, free: 12.01 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7481, allocations: 8.062 kB / 0.9223 GB, free: 12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.7483, allocations: 157.7 kB / 0.9225 GB, free: 11.86 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/0.7518, allocations: 0.9245 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.01155/0.7633, allocations: 10.41 MB / 0.9336 GB, free: 328 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.7641, allocations: 1.197 MB / 0.9347 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.7649, allocations: 298.7 kB / 0.935 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.7654, allocations: 463.3 kB / 0.9355 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of SimCode: time 9.02e-07/0.7654, allocations: 4 kB / 0.9355 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06698/0.8324, allocations: 43.78 MB / 0.9782 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.858/10.69, allocations: 4.656 kB / 0.9782 GB, free: 3.066 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_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_BoundaryWithXi_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)