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.007168/0.007168, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001721/0.001721, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8851/0.8851, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4115, allocations: 80.92 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5808/0.9923, allocations: 214 MB / 0.8732 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01334/1.006, allocations: 12.17 MB / 0.8851 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/1.007, allocations: 43.16 kB / 0.8851 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/1.009, allocations: 0.5117 MB / 0.8856 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/1.013, allocations: 1.956 MB / 0.8875 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/1.018, allocations: 1.937 MB / 0.8894 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00365/1.022, allocations: 2.355 MB / 0.8917 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/1.024, allocations: 1.235 MB / 0.8929 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/1.026, allocations: 0.8365 MB / 0.8937 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000859/1.027, allocations: 0.6558 MB / 0.8944 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/1.027, allocations: 92.16 kB / 0.8945 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/1.033, allocations: 2.717 MB / 0.8971 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006287/1.034, allocations: 0.5434 MB / 0.8976 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009874/1.035, allocations: 0.7337 MB / 0.8984 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005938/1.041, allocations: 3.149 MB / 0.9014 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.041, allocations: 1.031 kB / 0.9014 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.041, allocations: 0.9375 kB / 0.9014 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.976e-05/1.041, allocations: 0 / 0.9014 GB, free: 1.391 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.002811/1.044, allocations: 1.803 MB / 0.9032 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.044, allocations: 9.25 kB / 0.9032 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/1.044, allocations: 169.4 kB / 0.9034 GB, free: 16.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.046, allocations: 378.5 kB / 0.9037 GB, free: 16.29 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.048, allocations: 0.9787 MB / 0.9047 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/1.048, allocations: 76.75 kB / 0.9048 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.048, allocations: 103.2 kB / 0.9049 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/1.05, allocations: 1.536 MB / 0.9064 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/1.05, allocations: 4.031 kB / 0.9064 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/1.05, allocations: 45 kB / 0.9064 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/1.05, allocations: 62.48 kB / 0.9065 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/1.051, allocations: 1.023 MB / 0.9075 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.005256/1.056, allocations: 5.869 MB / 0.9132 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/1.057, allocations: 319.5 kB / 0.9135 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.057, allocations: 253 kB / 0.9137 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/1.058, allocations: 0.7055 MB / 0.9144 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.058, allocations: 42.56 kB / 0.9145 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/1.058, allocations: 0 / 0.9145 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001172/1.059, allocations: 0.6799 MB / 0.9151 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.059, allocations: 135.7 kB / 0.9153 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.061, allocations: 1.681 MB / 0.9169 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/1.061, allocations: 32.77 kB / 0.9169 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/1.061, allocations: 0.5674 MB / 0.9175 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/1.061, allocations: 97.16 kB / 0.9176 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.061, allocations: 68.72 kB / 0.9176 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.061, allocations: 318.4 kB / 0.9179 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/1.062, allocations: 153.5 kB / 0.9181 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/1.062, allocations: 273 kB / 0.9184 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/1.062, allocations: 412.7 kB / 0.9187 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.062, allocations: 2.625 kB / 0.9188 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006346/1.063, allocations: 0.5497 MB / 0.9193 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.063, allocations: 6 kB / 0.9193 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.063, allocations: 1.844 kB / 0.9193 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/1.063, allocations: 11.16 kB / 0.9193 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/1.063, allocations: 55.67 kB / 0.9194 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.063, allocations: 8 kB / 0.9194 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/1.064, allocations: 109.5 kB / 0.9195 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/1.064, allocations: 22.42 kB / 0.9195 GB, free: 9.934 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.0003663/1.064, allocations: 377.8 kB / 0.9199 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.065, allocations: 148.6 kB / 0.92 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/1.065, allocations: 390.9 kB / 0.9204 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.065, allocations: 2.312 kB / 0.9204 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.065, allocations: 4.5 kB / 0.9204 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.065, allocations: 6.844 kB / 0.9204 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/1.068, allocations: 2.516 MB / 0.9228 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.068, allocations: 5.031 kB / 0.9228 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/1.069, allocations: 49.56 kB / 0.9229 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.069, allocations: 12.45 kB / 0.9229 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/1.069, allocations: 14.5 kB / 0.9229 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.069, allocations: 8.734 kB / 0.9229 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.069, allocations: 10.34 kB / 0.9229 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/1.069, allocations: 0.6355 MB / 0.9236 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/1.07, allocations: 300.6 kB / 0.9238 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/1.07, allocations: 17.05 kB / 0.9239 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.07, allocations: 11.81 kB / 0.9239 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/1.07, allocations: 39.75 kB / 0.9239 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/1.071, allocations: 18.39 kB / 0.9239 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001236/1.072, allocations: 1.225 MB / 0.9251 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/1.072, allocations: 0 / 0.9251 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001032/1.073, allocations: 327.5 kB / 0.9254 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.002186/1.075, allocations: 1.663 MB / 0.9271 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005084/1.076, allocations: 353.5 kB / 0.9274 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.076, allocations: 3.25 kB / 0.9274 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/1.076, allocations: 158 kB / 0.9275 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.079, allocations: 0.936 MB / 0.9285 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.092, allocations: 10.53 MB / 0.9387 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/1.093, allocations: 1.21 MB / 0.9399 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001005/1.094, allocations: 297.5 kB / 0.9402 GB, free: 3.434 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/1.094, allocations: 468.5 kB / 0.9407 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of SimCode: time 7.61e-07/1.094, allocations: 0 / 0.9407 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07634/1.17, allocations: 44.01 MB / 0.9836 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.23, allocations: 7.141 kB / 0.9836 GB, free: 14.94 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)