Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8402/0.8402, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71 kB / 0.6185 GB, free: 6.922 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.169, allocations: 85.91 MB / 0.7024 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6115/0.7806, allocations: 189.7 MB / 0.8876 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.7976, allocations: 11.24 MB / 0.8986 GB, free: 10.15 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.7996, allocations: 63.38 kB / 0.8987 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.8014, allocations: 0.5314 MB / 0.8992 GB, free: 9.551 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.807, allocations: 1.902 MB / 0.901 GB, free: 7.645 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005148/0.8122, allocations: 1.95 MB / 0.9029 GB, free: 5.707 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003406/0.8156, allocations: 2.372 MB / 0.9053 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.8172, allocations: 0.8423 MB / 0.9061 GB, free: 2.465 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.819, allocations: 0.86 MB / 0.9069 GB, free: 1.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.8203, allocations: 0.6845 MB / 0.9076 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.8206, allocations: 88 kB / 0.9077 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.8259, allocations: 2.298 MB / 0.9099 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007541/0.8267, allocations: 0.5569 MB / 0.9105 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.8279, allocations: 0.5872 MB / 0.911 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.8341, allocations: 3.111 MB / 0.9141 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8341, allocations: 0 / 0.9141 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8341, allocations: 0 / 0.9141 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.818e-05/0.8341, allocations: 4 kB / 0.9141 GB, free: 10.25 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.00415/0.8383, allocations: 1.725 MB / 0.9158 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8383, allocations: 8.031 kB / 0.9158 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003309/0.8387, allocations: 176.7 kB / 0.9159 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.8406, allocations: 386.5 kB / 0.9163 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.8428, allocations: 0.9024 MB / 0.9172 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.8429, allocations: 74.06 kB / 0.9172 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.843, allocations: 100 kB / 0.9173 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.8458, allocations: 1.988 MB / 0.9193 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.8459, allocations: 7.938 kB / 0.9193 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.846, allocations: 51.98 kB / 0.9193 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-05/0.846, allocations: 57.64 kB / 0.9194 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.8477, allocations: 1.029 MB / 0.9204 GB, free: 3.461 MB / 0.6856 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.006674/0.8544, allocations: 4.91 MB / 0.9252 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.855, allocations: 309.5 kB / 0.9255 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.8553, allocations: 243.6 kB / 0.9257 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.8558, allocations: 115.9 kB / 0.9258 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.8558, allocations: 42.55 kB / 0.9259 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.8558, allocations: 0 / 0.9259 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28): time 0.001456/0.8573, allocations: 0.6761 MB / 0.9265 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.8574, allocations: 140.5 kB / 0.9267 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.8598, allocations: 1.682 MB / 0.9283 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.8598, allocations: 29.7 kB / 0.9283 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000581/0.8604, allocations: 0.5661 MB / 0.9289 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.8605, allocations: 95.17 kB / 0.929 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.8606, allocations: 69.66 kB / 0.9291 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8608, allocations: 318 kB / 0.9294 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.861, allocations: 159.9 kB / 0.9295 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.8615, allocations: 422.6 kB / 0.9299 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.862, allocations: 409.8 kB / 0.9303 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.862, allocations: 0 / 0.9303 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009157/0.8629, allocations: 0.5439 MB / 0.9308 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.8629, allocations: 4.188 kB / 0.9308 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8629, allocations: 11.94 kB / 0.9308 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.863, allocations: 15.86 kB / 0.9309 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.8632, allocations: 43.98 kB / 0.9309 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.8632, allocations: 8.094 kB / 0.9309 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.8638, allocations: 118.9 kB / 0.931 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.8639, allocations: 24 kB / 0.931 GB, free: 8.184 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.0005525/0.8644, allocations: 377.6 kB / 0.9314 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.8647, allocations: 143.1 kB / 0.9315 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.8653, allocations: 388.7 kB / 0.9319 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.8654, allocations: 7.938 kB / 0.9319 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.8654, allocations: 0.875 kB / 0.9319 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8654, allocations: 3.984 kB / 0.9319 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.8689, allocations: 2.241 MB / 0.9341 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8689, allocations: 4 kB / 0.9341 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.8691, allocations: 56.72 kB / 0.9342 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.8691, allocations: 8 kB / 0.9342 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.8692, allocations: 17.12 kB / 0.9342 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/0.8692, allocations: 11.94 kB / 0.9342 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.8692, allocations: 8 kB / 0.9342 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.8699, allocations: 0.6239 MB / 0.9348 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.8705, allocations: 230.8 kB / 0.935 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.8707, allocations: 15.98 kB / 0.9351 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.871, allocations: 16 kB / 0.9351 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.8711, allocations: 35.84 kB / 0.9351 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.8711, allocations: 16.81 kB / 0.9351 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001609/0.8727, allocations: 1.227 MB / 0.9363 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8727, allocations: 0 / 0.9363 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001029/0.8737, allocations: 331.4 kB / 0.9366 GB, free: 2.191 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.002548/0.8763, allocations: 1.654 MB / 0.9383 GB, free: 444 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006784/0.877, allocations: 343.4 kB / 0.9386 GB, free: 100 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.877, allocations: 4 kB / 0.9386 GB, free: 96 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.8772, allocations: 153.6 kB / 0.9387 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/0.8812, allocations: 0.9382 MB / 0.9397 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.8963, allocations: 10.52 MB / 0.9499 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/0.897, allocations: 0.6109 MB / 0.9505 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009665/0.898, allocations: 290.7 kB / 0.9508 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.8986, allocations: 467.3 kB / 0.9512 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.8986, allocations: 8 kB / 0.9513 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09413/0.9927, allocations: 48.2 MB / 0.9983 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.48, allocations: 0 / 0.9983 GB, free: 3.191 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.178624279797077] Failed to read output from testmodel.py, exit status != 0: 13.619197848718613 13.642597703 12.804028776 Calling exit ...