Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IDEAS_dev_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.007324/0.007324, allocations: 99.45 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.001696/0.001696, allocations: 193.7 kB / 16.67 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9071/0.9071, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 59.91 kB / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3699, allocations: 80.9 MB / 0.6641 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5678/0.9378, allocations: 214.1 MB / 0.8732 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.9514, allocations: 12.16 MB / 0.8851 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.9532, allocations: 43.53 kB / 0.8851 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.9545, allocations: 0.5111 MB / 0.8856 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.9591, allocations: 1.961 MB / 0.8875 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/0.9637, allocations: 1.932 MB / 0.8894 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.9667, allocations: 2.379 MB / 0.8917 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.9683, allocations: 1.21 MB / 0.8929 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.9697, allocations: 0.8363 MB / 0.8937 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.9705, allocations: 0.6577 MB / 0.8944 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.9706, allocations: 89.94 kB / 0.8945 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005089/0.9757, allocations: 2.712 MB / 0.8971 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.9762, allocations: 0.5307 MB / 0.8976 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008157/0.977, allocations: 0.7319 MB / 0.8983 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.9814, allocations: 3.135 MB / 0.9014 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9814, allocations: 1.25 kB / 0.9014 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9814, allocations: 0.875 kB / 0.9014 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.9815, allocations: 0 / 0.9014 GB, free: 1.434 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002361/0.9838, allocations: 1.783 MB / 0.9031 GB, free: 16.46 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.9839, allocations: 9.812 kB / 0.9031 GB, free: 16.46 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.9841, allocations: 167.2 kB / 0.9033 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.9857, allocations: 375.2 kB / 0.9037 GB, free: 16.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.9873, allocations: 0.9672 MB / 0.9046 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.9874, allocations: 78.97 kB / 0.9047 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.9875, allocations: 99.62 kB / 0.9048 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.9893, allocations: 1.51 MB / 0.9063 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.9894, allocations: 5.406 kB / 0.9063 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.9895, allocations: 53.61 kB / 0.9063 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.9895, allocations: 55.91 kB / 0.9064 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.9907, allocations: 1.019 MB / 0.9074 GB, free: 15.68 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.005204/0.9959, allocations: 5.842 MB / 0.9131 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.9964, allocations: 327.9 kB / 0.9134 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.9966, allocations: 249.7 kB / 0.9136 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000686/0.9973, allocations: 0.7113 MB / 0.9143 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.9974, allocations: 40.5 kB / 0.9143 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/0.9974, allocations: 2.031 kB / 0.9144 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001119/0.9985, allocations: 0.6674 MB / 0.915 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.9986, allocations: 144.6 kB / 0.9151 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1, allocations: 1.654 MB / 0.9168 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/1, allocations: 32.02 kB / 0.9168 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/1.001, allocations: 0.5536 MB / 0.9173 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/1.001, allocations: 107.2 kB / 0.9174 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/1.001, allocations: 67.02 kB / 0.9175 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.001, allocations: 319.9 kB / 0.9178 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/1.001, allocations: 161 kB / 0.918 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.001, allocations: 292 kB / 0.9182 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/1.002, allocations: 425.4 kB / 0.9186 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.002, allocations: 0.8438 kB / 0.9186 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006527/1.002, allocations: 0.5732 MB / 0.9192 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.002, allocations: 5.781 kB / 0.9192 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/1.002, allocations: 3.531 kB / 0.9192 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.003, allocations: 5.125 kB / 0.9192 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/1.003, allocations: 58.45 kB / 0.9193 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.003, allocations: 12.62 kB / 0.9193 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/1.003, allocations: 116.2 kB / 0.9194 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/1.003, allocations: 15.53 kB / 0.9194 GB, free: 9.949 MB / 0.7012 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.0003592/1.004, allocations: 381.9 kB / 0.9198 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/1.004, allocations: 144.7 kB / 0.9199 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/1.004, allocations: 381.3 kB / 0.9203 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.004, allocations: 7.531 kB / 0.9203 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.004, allocations: 0 / 0.9203 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.004, allocations: 6.656 kB / 0.9203 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/1.008, allocations: 2.512 MB / 0.9227 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.008, allocations: 5.938 kB / 0.9227 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/1.008, allocations: 50.69 kB / 0.9228 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.008, allocations: 8.5 kB / 0.9228 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/1.008, allocations: 13.75 kB / 0.9228 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/1.008, allocations: 14.31 kB / 0.9228 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.008, allocations: 10.53 kB / 0.9228 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/1.008, allocations: 0.6223 MB / 0.9234 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/1.009, allocations: 309.5 kB / 0.9237 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/1.009, allocations: 13.34 kB / 0.9238 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.009, allocations: 9.094 kB / 0.9238 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.01, allocations: 36.36 kB / 0.9238 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/1.01, allocations: 15.53 kB / 0.9238 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001358/1.011, allocations: 1.213 MB / 0.925 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.011, allocations: 0.9062 kB / 0.925 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001175/1.012, allocations: 332.9 kB / 0.9253 GB, free: 8.016 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.002211/1.014, allocations: 1.664 MB / 0.9269 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005134/1.015, allocations: 365.1 kB / 0.9273 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.015, allocations: 3.656 kB / 0.9273 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/1.015, allocations: 161.8 kB / 0.9274 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.019, allocations: 0.9238 MB / 0.9283 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.031, allocations: 10.41 MB / 0.9385 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/1.032, allocations: 1.211 MB / 0.9397 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001127/1.033, allocations: 300.3 kB / 0.94 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.034, allocations: 460.2 kB / 0.9404 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of SimCode: time 1.062e-06/1.034, allocations: 0 / 0.9404 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0742/1.108, allocations: 43.77 MB / 0.9832 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.914/11.02, allocations: 16.45 kB / 0.9832 GB, free: 15.32 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)