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.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.0008077/0.0008077, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009489/0.0009489, allocations: 217.7 kB / 22.26 MB, free: 3.699 MB / 13.93 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.9385/0.9385, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7697/0.7697, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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"}) [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.001282/0.001282, allocations: 61.53 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4456, allocations: 102 MB / 0.8179 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1601/0.6058, allocations: 218.3 MB / 1.031 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.6159, allocations: 12.33 MB / 1.043 GB, free: 14.48 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009679/0.6169, allocations: 63.38 kB / 1.043 GB, free: 14.41 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.6179, allocations: 0.5235 MB / 1.044 GB, free: 13.89 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.621, allocations: 1.98 MB / 1.046 GB, free: 11.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.6241, allocations: 2.097 MB / 1.048 GB, free: 9.812 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.6258, allocations: 2.399 MB / 1.05 GB, free: 7.402 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007663/0.6265, allocations: 0.858 MB / 1.051 GB, free: 6.523 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.6302, allocations: 3.166 MB / 1.054 GB, free: 3.348 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.6308, allocations: 0.6962 MB / 1.055 GB, free: 2.648 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.6309, allocations: 88 kB / 1.055 GB, free: 2.562 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.6337, allocations: 2.662 MB / 1.057 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.634, allocations: 0.553 MB / 1.058 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.6345, allocations: 0.7386 MB / 1.059 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.6374, allocations: 3.119 MB / 1.062 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6374, allocations: 0 / 1.062 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6374, allocations: 4 kB / 1.062 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.6375, allocations: 0 / 1.062 GB, free: 11.46 MB / 0.8386 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.001561/0.639, allocations: 1.721 MB / 1.063 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6391, allocations: 8.031 kB / 1.063 GB, free: 9.695 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.6392, allocations: 172.8 kB / 1.063 GB, free: 9.516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009076/0.6401, allocations: 386.6 kB / 1.064 GB, free: 9.137 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000941/0.641, allocations: 0.8946 MB / 1.065 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/0.6411, allocations: 78.05 kB / 1.065 GB, free: 8.137 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.6412, allocations: 100 kB / 1.065 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6425, allocations: 1.535 MB / 1.066 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6425, allocations: 3.938 kB / 1.066 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/0.6426, allocations: 51.94 kB / 1.066 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/0.6426, allocations: 57.64 kB / 1.066 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.6435, allocations: 1.021 MB / 1.067 GB, free: 5.262 MB / 0.8386 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.003657/0.6472, allocations: 5.665 MB / 1.073 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.6475, allocations: 306.2 kB / 1.073 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.6477, allocations: 239.4 kB / 1.074 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.6479, allocations: 108 kB / 1.074 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.648, allocations: 46.5 kB / 1.074 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.648, allocations: 0 / 1.074 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.0007548/0.6487, allocations: 0.6723 MB / 1.074 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6488, allocations: 140.4 kB / 1.074 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.6502, allocations: 1.69 MB / 1.076 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6502, allocations: 33.64 kB / 1.076 GB, free: 12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.6505, allocations: 0.5623 MB / 1.077 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.6506, allocations: 99.16 kB / 1.077 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.6506, allocations: 65.7 kB / 1.077 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.6507, allocations: 318 kB / 1.077 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6509, allocations: 155.9 kB / 1.077 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.651, allocations: 274.2 kB / 1.078 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.6514, allocations: 404.2 kB / 1.078 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6514, allocations: 0 / 1.078 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004437/0.6518, allocations: 0.5557 MB / 1.079 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6518, allocations: 4 kB / 1.079 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6518, allocations: 8.188 kB / 1.079 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6518, allocations: 4 kB / 1.079 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.652, allocations: 51.91 kB / 1.079 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.652, allocations: 7.938 kB / 1.079 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.6522, allocations: 110.9 kB / 1.079 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.6522, allocations: 32.02 kB / 1.079 GB, free: 9.297 MB / 0.8542 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.0002865/0.6525, allocations: 373.6 kB / 1.079 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6526, allocations: 151 kB / 1.079 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.653, allocations: 384.7 kB / 1.08 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.653, allocations: 0 / 1.08 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.653, allocations: 7.938 kB / 1.08 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.653, allocations: 3.984 kB / 1.08 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.6549, allocations: 2.347 MB / 1.082 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6549, allocations: 8.062 kB / 1.082 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.655, allocations: 55.86 kB / 1.082 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.655, allocations: 8 kB / 1.082 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.655, allocations: 12 kB / 1.082 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.655, allocations: 8 kB / 1.082 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.655, allocations: 7.938 kB / 1.082 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.6556, allocations: 0.6311 MB / 1.083 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.6558, allocations: 230.8 kB / 1.083 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.6559, allocations: 19.98 kB / 1.083 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.6561, allocations: 12 kB / 1.083 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.6561, allocations: 31.84 kB / 1.083 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.6561, allocations: 20 kB / 1.083 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009428/0.657, allocations: 1.227 MB / 1.084 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.3e-07/0.657, allocations: 0 / 1.084 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005892/0.6576, allocations: 335.4 kB / 1.084 GB, free: 3.191 MB / 0.8542 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.001294/0.6589, allocations: 1.649 MB / 1.086 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.6593, allocations: 343.5 kB / 1.086 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6593, allocations: 4 kB / 1.086 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6594, allocations: 164 kB / 1.087 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.6612, allocations: 0.9283 MB / 1.087 GB, free: 80 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008345/0.6695, allocations: 10.52 MB / 1.098 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.6701, allocations: 1.212 MB / 1.099 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006042/0.6707, allocations: 294.7 kB / 1.099 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.6711, allocations: 463.3 kB / 1.1 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/0.6711, allocations: 0 / 1.1 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05551/0.7266, allocations: 44.44 MB / 1.143 GB, free: 7.051 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.237/9.963, allocations: 10.27 kB / 1.143 GB, free: 7.043 MB / 0.9167 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.146900572115555] Failed to read output from testmodel.py, exit status != 0: 10.06076178792864 10.395366636 9.755484997 Calling exit ...