Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009548/0.0009548, 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.0009818/0.0009818, 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.873/0.873, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001941/0.001941, allocations: 234.4 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6513/0.6513, allocations: 138.4 MB / 454.3 MB, free: 1.598 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.969e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1469/0.1469, allocations: 189.5 MB / 0.8313 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1581, allocations: 11.22 MB / 0.8423 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.1593, allocations: 63.38 kB / 0.8423 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1604, allocations: 0.5351 MB / 0.8429 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.1638, allocations: 1.951 MB / 0.8448 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.1673, allocations: 2.023 MB / 0.8467 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.1698, allocations: 2.347 MB / 0.849 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/0.1708, allocations: 0.85 MB / 0.8499 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.1719, allocations: 1.137 MB / 0.851 GB, free: 15.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.1724, allocations: 0.6075 MB / 0.8516 GB, free: 14.72 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.684e-05/0.1725, allocations: 92 kB / 0.8516 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.1762, allocations: 2.34 MB / 0.8539 GB, free: 12.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.1766, allocations: 0.5648 MB / 0.8545 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006721/0.1773, allocations: 0.495 MB / 0.855 GB, free: 11.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.1811, allocations: 3.183 MB / 0.8581 GB, free: 8.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1811, allocations: 0 / 0.8581 GB, free: 8.031 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1811, allocations: 0 / 0.8581 GB, free: 8.031 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.1811, allocations: 3.938 kB / 0.8581 GB, free: 8.027 MB / 0.698 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.001733/0.1828, allocations: 1.705 MB / 0.8597 GB, free: 6.281 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1829, allocations: 8.75 kB / 0.8598 GB, free: 6.273 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.183, allocations: 168.8 kB / 0.8599 GB, free: 6.098 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009623/0.184, allocations: 394.5 kB / 0.8603 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.185, allocations: 0.8946 MB / 0.8612 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.1851, allocations: 78.06 kB / 0.8612 GB, free: 4.707 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.1852, allocations: 100 kB / 0.8613 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.187, allocations: 1.985 MB / 0.8633 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.187, allocations: 4 kB / 0.8633 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.1871, allocations: 44 kB / 0.8633 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.1872, allocations: 65.56 kB / 0.8634 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.1881, allocations: 1.029 MB / 0.8644 GB, free: 1.266 MB / 0.698 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.2508/0.439, allocations: 4.905 MB / 0.8692 GB, free: 214.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.4394, allocations: 316.8 kB / 0.8695 GB, free: 214.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4396, allocations: 237.1 kB / 0.8697 GB, free: 214 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.4399, allocations: 109.6 kB / 0.8698 GB, free: 214 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.44, allocations: 43.62 kB / 0.8699 GB, free: 213.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.44, allocations: 3.906 kB / 0.8699 GB, free: 213.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001051/0.441, allocations: 0.6709 MB / 0.8705 GB, free: 213.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.441, allocations: 132.5 kB / 0.8706 GB, free: 213.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.4429, allocations: 1.684 MB / 0.8723 GB, free: 212.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.4429, allocations: 32.8 kB / 0.8723 GB, free: 212.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.4432, allocations: 0.5657 MB / 0.8729 GB, free: 212.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.4432, allocations: 98.19 kB / 0.873 GB, free: 212.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.4433, allocations: 64.22 kB / 0.873 GB, free: 212.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.4434, allocations: 317.5 kB / 0.8733 GB, free: 212 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4435, allocations: 159.2 kB / 0.8735 GB, free: 212 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.4437, allocations: 424.8 kB / 0.8739 GB, free: 211.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.444, allocations: 408 kB / 0.8743 GB, free: 211.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.444, allocations: 0 / 0.8743 GB, free: 211.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004826/0.4445, allocations: 0.5609 MB / 0.8748 GB, free: 211.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.4445, allocations: 4.969 kB / 0.8748 GB, free: 211.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4445, allocations: 2.656 kB / 0.8748 GB, free: 211.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4445, allocations: 3.719 kB / 0.8748 GB, free: 211.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4447, allocations: 54.3 kB / 0.8749 GB, free: 211.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4447, allocations: 7.859 kB / 0.8749 GB, free: 211.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.445, allocations: 105.2 kB / 0.875 GB, free: 211.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4451, allocations: 24.81 kB / 0.875 GB, free: 211.1 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.0002974/0.4454, allocations: 382.8 kB / 0.8754 GB, free: 210.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4455, allocations: 152.3 kB / 0.8755 GB, free: 210.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.4459, allocations: 384.7 kB / 0.8759 GB, free: 210.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4459, allocations: 3.375 kB / 0.8759 GB, free: 210.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4459, allocations: 0 / 0.8759 GB, free: 210.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4459, allocations: 5.562 kB / 0.8759 GB, free: 210.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.4479, allocations: 2.244 MB / 0.8781 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.4479, allocations: 8.25 kB / 0.8781 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.448, allocations: 50.61 kB / 0.8781 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.448, allocations: 7.719 kB / 0.8782 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.448, allocations: 16.22 kB / 0.8782 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.4481, allocations: 16.67 kB / 0.8782 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4481, allocations: 7.531 kB / 0.8782 GB, free: 209 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.4485, allocations: 0.6165 MB / 0.8788 GB, free: 208.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.4487, allocations: 236.6 kB / 0.879 GB, free: 208.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.4488, allocations: 12.81 kB / 0.879 GB, free: 208.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.449, allocations: 6.594 kB / 0.879 GB, free: 208.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.4491, allocations: 43.22 kB / 0.8791 GB, free: 208.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.4491, allocations: 18.52 kB / 0.8791 GB, free: 208.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001015/0.4501, allocations: 1.225 MB / 0.8803 GB, free: 207.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4501, allocations: 3.938 kB / 0.8803 GB, free: 207.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007346/0.4508, allocations: 330.7 kB / 0.8806 GB, free: 207.6 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.001391/0.4522, allocations: 1.67 MB / 0.8822 GB, free: 206.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.4526, allocations: 344.9 kB / 0.8826 GB, free: 206.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4526, allocations: 1.438 kB / 0.8826 GB, free: 206.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4527, allocations: 158.5 kB / 0.8827 GB, free: 206.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.4547, allocations: 0.9294 MB / 0.8836 GB, free: 205.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/0.4635, allocations: 10.58 MB / 0.894 GB, free: 198.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.4639, allocations: 0.6099 MB / 0.8946 GB, free: 198 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007091/0.4646, allocations: 298.2 kB / 0.8948 GB, free: 197.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.4649, allocations: 464.2 kB / 0.8953 GB, free: 197.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/0.4649, allocations: 0 / 0.8953 GB, free: 197.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.5122, allocations: 48.14 MB / 0.9423 GB, free: 150.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/8.278, allocations: 25.27 kB / 0.9423 GB, free: 150 MB / 0.698 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.983034663833678] Failed to read output from testmodel.py, exit status != 0: 8.38089791405946 8.391792604 8.208582132 Calling exit ...