Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_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.001594/0.001595, allocations: 112.5 kB / 15.73 MB, free: 76 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.001734/0.001734, allocations: 189.3 kB / 16.67 MB, free: 6.582 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.336/1.336, 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-master/package.mo): time 0.9261/0.9261, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.05 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3688, allocations: 80.91 MB / 0.6641 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5975/0.9663, allocations: 214 MB / 0.8732 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.9794, allocations: 12.17 MB / 0.885 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.9808, allocations: 43.44 kB / 0.8851 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.982, allocations: 0.5183 MB / 0.8856 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.9866, allocations: 1.954 MB / 0.8875 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/0.9914, allocations: 1.932 MB / 0.8894 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.9946, allocations: 2.352 MB / 0.8917 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.9963, allocations: 1.239 MB / 0.8929 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.9978, allocations: 0.837 MB / 0.8937 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008858/0.9987, allocations: 0.6617 MB / 0.8944 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.9989, allocations: 93.14 kB / 0.8944 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005453/1.004, allocations: 2.711 MB / 0.8971 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005753/1.005, allocations: 0.5428 MB / 0.8976 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008687/1.006, allocations: 0.735 MB / 0.8983 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/1.011, allocations: 3.156 MB / 0.9014 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.011, allocations: 0 / 0.9014 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.734e-06/1.011, allocations: 0.7812 kB / 0.9014 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.037e-05/1.011, allocations: 1.031 kB / 0.9014 GB, free: 1.379 MB / 0.6856 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.002425/1.013, allocations: 1.794 MB / 0.9032 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.013, allocations: 9.625 kB / 0.9032 GB, free: 16.41 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/1.013, allocations: 172 kB / 0.9034 GB, free: 16.36 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/1.015, allocations: 385 kB / 0.9037 GB, free: 16.28 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.016, allocations: 0.9683 MB / 0.9047 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/1.016, allocations: 81.09 kB / 0.9047 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.017, allocations: 98.75 kB / 0.9048 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/1.018, allocations: 1.532 MB / 0.9063 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/1.018, allocations: 6.266 kB / 0.9063 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/1.019, allocations: 48.66 kB / 0.9064 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/1.019, allocations: 59.41 kB / 0.9064 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.02, allocations: 1.022 MB / 0.9074 GB, free: 15.63 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.005288/1.025, allocations: 5.868 MB / 0.9132 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/1.026, allocations: 323.8 kB / 0.9135 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/1.026, allocations: 247.7 kB / 0.9137 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000689/1.027, allocations: 0.7148 MB / 0.9144 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.027, allocations: 37.22 kB / 0.9144 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/1.027, allocations: 0.7812 kB / 0.9145 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001137/1.028, allocations: 0.6806 MB / 0.9151 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/1.028, allocations: 135 kB / 0.9152 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.03, allocations: 1.684 MB / 0.9169 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/1.03, allocations: 34.52 kB / 0.9169 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/1.03, allocations: 0.5612 MB / 0.9175 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/1.03, allocations: 101 kB / 0.9176 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.03, allocations: 69.67 kB / 0.9176 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.03, allocations: 318.5 kB / 0.9179 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/1.03, allocations: 154.1 kB / 0.9181 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/1.031, allocations: 268.9 kB / 0.9183 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/1.031, allocations: 419.1 kB / 0.9187 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.031, allocations: 0 / 0.9187 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00062/1.032, allocations: 0.5483 MB / 0.9193 GB, free: 10 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.032, allocations: 8.656 kB / 0.9193 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/1.032, allocations: 4.797 kB / 0.9193 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.032, allocations: 8.5 kB / 0.9193 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.032, allocations: 56.92 kB / 0.9193 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/1.032, allocations: 5.125 kB / 0.9194 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/1.033, allocations: 108 kB / 0.9195 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/1.033, allocations: 22.98 kB / 0.9195 GB, free: 9.922 MB / 0.7012 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.0003688/1.033, allocations: 377.7 kB / 0.9198 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/1.033, allocations: 151.7 kB / 0.92 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/1.034, allocations: 386 kB / 0.9204 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.034, allocations: 1.812 kB / 0.9204 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.034, allocations: 7.406 kB / 0.9204 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.034, allocations: 5.344 kB / 0.9204 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/1.037, allocations: 2.519 MB / 0.9228 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.037, allocations: 8.531 kB / 0.9228 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/1.038, allocations: 52.67 kB / 0.9229 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/1.038, allocations: 8.25 kB / 0.9229 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.038, allocations: 15.84 kB / 0.9229 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.038, allocations: 15.14 kB / 0.9229 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.038, allocations: 10.03 kB / 0.9229 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/1.038, allocations: 0.6282 MB / 0.9235 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/1.039, allocations: 297.7 kB / 0.9238 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/1.039, allocations: 17.47 kB / 0.9238 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/1.039, allocations: 10.53 kB / 0.9239 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/1.039, allocations: 40.25 kB / 0.9239 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/1.039, allocations: 16.44 kB / 0.9239 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001341/1.041, allocations: 1.228 MB / 0.9251 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/1.041, allocations: 0 / 0.9251 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001142/1.042, allocations: 327.9 kB / 0.9254 GB, free: 7.984 MB / 0.7012 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.002194/1.044, allocations: 1.672 MB / 0.9271 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004887/1.045, allocations: 355.8 kB / 0.9274 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.045, allocations: 0 / 0.9274 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/1.045, allocations: 155 kB / 0.9275 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.048, allocations: 0.9349 MB / 0.9285 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.06, allocations: 10.52 MB / 0.9387 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/1.061, allocations: 1.207 MB / 0.9399 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008733/1.062, allocations: 296.6 kB / 0.9402 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/1.062, allocations: 475.7 kB / 0.9406 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/1.062, allocations: 0 / 0.9406 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/1.137, allocations: 44.02 MB / 0.9836 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.948/11.09, allocations: 11.86 kB / 0.9836 GB, free: 15 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)