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.0008468/0.0008468, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001181/0.001181, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9144/0.9144, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7143/0.7143, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.452e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4618/0.4618, allocations: 189.5 MB / 0.8032 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.4749, allocations: 11.26 MB / 0.8141 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.4768, allocations: 62.72 kB / 0.8142 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.4782, allocations: 0.5329 MB / 0.8147 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.4833, allocations: 1.947 MB / 0.8166 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.4876, allocations: 2.109 MB / 0.8187 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.4905, allocations: 2.354 MB / 0.821 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.4918, allocations: 0.8524 MB / 0.8218 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/0.4975, allocations: 3.473 MB / 0.8252 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.4988, allocations: 0.6008 MB / 0.8258 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.499, allocations: 89.78 kB / 0.8259 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.5027, allocations: 2.088 MB / 0.8279 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.5033, allocations: 0.5669 MB / 0.8285 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007815/0.5041, allocations: 0.4888 MB / 0.829 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005331/0.5094, allocations: 3.194 MB / 0.8321 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5094, allocations: 0 / 0.8321 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5094, allocations: 0 / 0.8321 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.255e-05/0.5095, allocations: 3.281 kB / 0.8321 GB, free: 8.508 MB / 0.6823 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.002274/0.5118, allocations: 1.698 MB / 0.8337 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5118, allocations: 12.03 kB / 0.8337 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.512, allocations: 172.8 kB / 0.8339 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.5131, allocations: 383.4 kB / 0.8343 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.5144, allocations: 0.8945 MB / 0.8351 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/0.5145, allocations: 82.06 kB / 0.8352 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.5146, allocations: 104 kB / 0.8353 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.5166, allocations: 1.985 MB / 0.8373 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.5167, allocations: 3.938 kB / 0.8373 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.5167, allocations: 48 kB / 0.8373 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.5168, allocations: 61.62 kB / 0.8374 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5179, allocations: 1.028 MB / 0.8384 GB, free: 1.746 MB / 0.6823 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.005411/0.5233, allocations: 4.906 MB / 0.8432 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.5238, allocations: 315 kB / 0.8435 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.524, allocations: 238.7 kB / 0.8437 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.5244, allocations: 115.9 kB / 0.8438 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.5244, allocations: 38.5 kB / 0.8438 GB, free: 11.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.886e-06/0.5244, allocations: 0 / 0.8438 GB, free: 11.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.0009653/0.5254, allocations: 0.6724 MB / 0.8445 GB, free: 11.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.5254, allocations: 140.6 kB / 0.8446 GB, free: 11.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.5269, allocations: 1.678 MB / 0.8463 GB, free: 9.414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.527, allocations: 33.7 kB / 0.8463 GB, free: 9.375 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.5273, allocations: 0.5662 MB / 0.8469 GB, free: 8.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.5274, allocations: 99.16 kB / 0.847 GB, free: 8.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.5275, allocations: 61.66 kB / 0.847 GB, free: 8.641 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.5276, allocations: 321.9 kB / 0.8473 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.5277, allocations: 155.9 kB / 0.8475 GB, free: 8.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.528, allocations: 426.7 kB / 0.8479 GB, free: 7.684 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.5283, allocations: 403.5 kB / 0.8483 GB, free: 7.262 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.5283, allocations: 4 kB / 0.8483 GB, free: 7.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005456/0.5289, allocations: 0.5471 MB / 0.8488 GB, free: 6.703 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5289, allocations: 11 kB / 0.8488 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5289, allocations: 0 / 0.8488 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5289, allocations: 8.188 kB / 0.8488 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.5291, allocations: 59.91 kB / 0.8489 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5291, allocations: 7.938 kB / 0.8489 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.5295, allocations: 111 kB / 0.849 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.5295, allocations: 16 kB / 0.849 GB, free: 6.496 MB / 0.698 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.0006437/0.5302, allocations: 382.5 kB / 0.8494 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5303, allocations: 147 kB / 0.8495 GB, free: 5.969 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.5307, allocations: 384 kB / 0.8499 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5307, allocations: 7.938 kB / 0.8499 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5307, allocations: 0 / 0.8499 GB, free: 5.566 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5308, allocations: 7.984 kB / 0.8499 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.5332, allocations: 2.253 MB / 0.8521 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5332, allocations: 4 kB / 0.8521 GB, free: 3.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.5333, allocations: 51.91 kB / 0.8521 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.5333, allocations: 8 kB / 0.8521 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.5333, allocations: 17.53 kB / 0.8522 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.5333, allocations: 15.94 kB / 0.8522 GB, free: 3.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5333, allocations: 11.94 kB / 0.8522 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.5338, allocations: 0.6115 MB / 0.8528 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.5342, allocations: 230.9 kB / 0.853 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.5343, allocations: 8 kB / 0.853 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.5345, allocations: 15.98 kB / 0.853 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.5345, allocations: 46.72 kB / 0.8531 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.5345, allocations: 16.09 kB / 0.8531 GB, free: 2.043 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001168/0.5357, allocations: 1.223 MB / 0.8543 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5357, allocations: 0 / 0.8543 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009301/0.5366, allocations: 335.4 kB / 0.8546 GB, free: 0.4961 MB / 0.698 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.002104/0.5387, allocations: 1.671 MB / 0.8562 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.5392, allocations: 345.3 kB / 0.8566 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5392, allocations: 0 / 0.8566 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.5393, allocations: 153.2 kB / 0.8567 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.5418, allocations: 0.9213 MB / 0.8576 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.5534, allocations: 10.59 MB / 0.868 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.5539, allocations: 0.6109 MB / 0.8686 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008155/0.5547, allocations: 294.8 kB / 0.8688 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.5551, allocations: 464.3 kB / 0.8693 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.813e-06/0.5551, allocations: 0 / 0.8693 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/0.6199, allocations: 48.13 MB / 0.9163 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.933, allocations: 4.062 kB / 0.9163 GB, free: 1.781 MB / 0.7605 GB " [Timeout remaining time 651] (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: 11.693760161288083] Failed to read output from testmodel.py, exit status != 0: 9.031869165599346 9.041661468 8.530155472 Calling exit ...