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.007408/0.007408, allocations: 99.2 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.00195/0.00195, allocations: 198.2 kB / 16.68 MB, free: 5.977 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.409/1.409, 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-master/package.mo): time 0.9515/0.9515, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 71.83 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3577, allocations: 81.03 MB / 0.6649 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6104/0.9681, allocations: 214 MB / 0.8739 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.9801, allocations: 12.17 MB / 0.8858 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.9814, allocations: 43.03 kB / 0.8858 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00099/0.9824, allocations: 0.5075 MB / 0.8863 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003789/0.9862, allocations: 1.881 MB / 0.8881 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.9902, allocations: 1.899 MB / 0.89 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.9926, allocations: 2.349 MB / 0.8923 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.9943, allocations: 1.239 MB / 0.8935 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.9957, allocations: 0.8292 MB / 0.8943 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009063/0.9967, allocations: 0.6542 MB / 0.8949 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.9969, allocations: 90.97 kB / 0.895 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005178/1.002, allocations: 2.702 MB / 0.8977 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005593/1.003, allocations: 0.5441 MB / 0.8982 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009228/1.004, allocations: 0.7336 MB / 0.8989 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004687/1.008, allocations: 3.152 MB / 0.902 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.008, allocations: 2.031 kB / 0.902 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/1.008, allocations: 0 / 0.902 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.005e-05/1.008, allocations: 3.094 kB / 0.902 GB, free: 1.402 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.002445/1.011, allocations: 1.796 MB / 0.9038 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.011, allocations: 10 kB / 0.9038 GB, free: 16.43 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/1.011, allocations: 167.7 kB / 0.9039 GB, free: 16.39 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/1.013, allocations: 384.4 kB / 0.9043 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.014, allocations: 0.9752 MB / 0.9052 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/1.014, allocations: 81.45 kB / 0.9053 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/1.014, allocations: 98.59 kB / 0.9054 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/1.016, allocations: 1.54 MB / 0.9069 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.016, allocations: 3.188 kB / 0.9069 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/1.016, allocations: 48.8 kB / 0.907 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/1.016, allocations: 68.48 kB / 0.907 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/1.017, allocations: 1.02 MB / 0.908 GB, free: 15.64 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.005148/1.022, allocations: 5.86 MB / 0.9138 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/1.023, allocations: 323.2 kB / 0.9141 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/1.023, allocations: 252.4 kB / 0.9143 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007126/1.024, allocations: 0.7071 MB / 0.915 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/1.024, allocations: 48.25 kB / 0.915 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/1.024, allocations: 0 / 0.915 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001077/1.025, allocations: 0.6732 MB / 0.9157 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/1.025, allocations: 134.2 kB / 0.9158 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.027, allocations: 1.682 MB / 0.9175 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/1.027, allocations: 35.83 kB / 0.9175 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/1.027, allocations: 0.5608 MB / 0.918 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/1.027, allocations: 98.72 kB / 0.9181 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/1.027, allocations: 69.38 kB / 0.9182 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.027, allocations: 318.2 kB / 0.9185 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.027, allocations: 163.6 kB / 0.9187 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/1.028, allocations: 268.8 kB / 0.9189 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/1.028, allocations: 410.8 kB / 0.9193 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.028, allocations: 4.094 kB / 0.9193 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006212/1.029, allocations: 0.5471 MB / 0.9199 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.029, allocations: 9.875 kB / 0.9199 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/1.029, allocations: 5.062 kB / 0.9199 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.029, allocations: 4.094 kB / 0.9199 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/1.029, allocations: 54.36 kB / 0.9199 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.029, allocations: 5.938 kB / 0.9199 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/1.03, allocations: 109.4 kB / 0.92 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/1.03, allocations: 21.88 kB / 0.9201 GB, free: 9.941 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.0003547/1.03, allocations: 381.9 kB / 0.9204 GB, free: 9.824 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/1.03, allocations: 153.4 kB / 0.9206 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004763/1.031, allocations: 386.6 kB / 0.9209 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.031, allocations: 4.469 kB / 0.9209 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.031, allocations: 0 / 0.9209 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.031, allocations: 6.531 kB / 0.9209 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/1.034, allocations: 2.519 MB / 0.9234 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.034, allocations: 6.844 kB / 0.9234 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.034, allocations: 51.97 kB / 0.9235 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/1.034, allocations: 6.562 kB / 0.9235 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/1.034, allocations: 16.2 kB / 0.9235 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.034, allocations: 11.09 kB / 0.9235 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.034, allocations: 10.42 kB / 0.9235 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/1.035, allocations: 0.6354 MB / 0.9241 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/1.035, allocations: 304.6 kB / 0.9244 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.035, allocations: 14.33 kB / 0.9244 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/1.035, allocations: 12.06 kB / 0.9244 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/1.035, allocations: 44.17 kB / 0.9245 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/1.035, allocations: 16.78 kB / 0.9245 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001202/1.037, allocations: 1.224 MB / 0.9257 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 2.062 kB / 0.9257 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009502/1.038, allocations: 325 kB / 0.926 GB, free: 7.996 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.00214/1.04, allocations: 1.662 MB / 0.9276 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004413/1.04, allocations: 359.1 kB / 0.928 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.04, allocations: 4.297 kB / 0.928 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.04, allocations: 164.8 kB / 0.9281 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.044, allocations: 0.9279 MB / 0.929 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.055, allocations: 10.52 MB / 0.9393 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/1.056, allocations: 1.203 MB / 0.9405 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007991/1.056, allocations: 307 kB / 0.9408 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/1.057, allocations: 458.7 kB / 0.9412 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/1.057, allocations: 0 / 0.9412 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0769/1.134, allocations: 44.02 MB / 0.9842 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.23, allocations: 3.859 kB / 0.9842 GB, free: 14.73 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)