Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0006736/0.0006736, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.000772/0.000772, allocations: 210.4 kB / 23 MB, free: 2.973 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.8285/0.8285, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7532/0.7532, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [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.0009475/0.0009475, allocations: 66.05 kB / 0.7194 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5226/0.5235, allocations: 102 MB / 0.819 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1776/0.7011, allocations: 222.3 MB / 1.036 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01981/0.7209, allocations: 20.58 MB / 1.056 GB, free: 1.855 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.7225, allocations: 75.31 kB / 1.056 GB, free: 1.781 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.7248, allocations: 0.9821 MB / 1.057 GB, free: 0.793 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.728, allocations: 1.515 MB / 1.059 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.7316, allocations: 1.997 MB / 1.061 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003101/0.7347, allocations: 2.69 MB / 1.063 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.736, allocations: 0.958 MB / 1.064 GB, free: 9.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.7386, allocations: 1.635 MB / 1.066 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.7397, allocations: 0.9025 MB / 1.067 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.7398, allocations: 112 kB / 1.067 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.7419, allocations: 1.391 MB / 1.068 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.7422, allocations: 390.7 kB / 1.069 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.7426, allocations: 0.5095 MB / 1.069 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.7453, allocations: 2.304 MB / 1.071 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7453, allocations: 4 kB / 1.071 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7453, allocations: 0 / 1.071 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.7453, allocations: 0 / 1.071 GB, free: 2.324 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001532/0.7469, allocations: 1.445 MB / 1.073 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.7469, allocations: 12.03 kB / 1.073 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.7476, allocations: 235 kB / 1.073 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.7487, allocations: 0.856 MB / 1.074 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.7488, allocations: 295.5 kB / 1.074 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.7489, allocations: 91.94 kB / 1.074 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.7499, allocations: 0.9246 MB / 1.075 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.7499, allocations: 0 / 1.075 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.75, allocations: 36 kB / 1.075 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.75, allocations: 24 kB / 1.075 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007378/0.7507, allocations: 0.6324 MB / 1.076 GB, free: 13.64 MB / 0.8542 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.002632/0.7533, allocations: 2.63 MB / 1.078 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.7536, allocations: 186.6 kB / 1.078 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.7538, allocations: 136.7 kB / 1.079 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.7541, allocations: 131.9 kB / 1.079 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7541, allocations: 38.56 kB / 1.079 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 3.186e-06/0.7541, allocations: 0 / 1.079 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0007075/0.7548, allocations: 447 kB / 1.079 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.7549, allocations: 59.41 kB / 1.079 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.7555, allocations: 0.7038 MB / 1.08 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.7555, allocations: 33.7 kB / 1.08 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.7557, allocations: 0.5425 MB / 1.08 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.7558, allocations: 95.2 kB / 1.081 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.7559, allocations: 94.08 kB / 1.081 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.756, allocations: 378.8 kB / 1.081 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.7562, allocations: 128.8 kB / 1.081 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.7565, allocations: 0.7295 MB / 1.082 GB, free: 7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.7569, allocations: 475.5 kB / 1.082 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7569, allocations: 0 / 1.082 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005562/0.7575, allocations: 0.5122 MB / 1.083 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.7575, allocations: 8 kB / 1.083 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.7575, allocations: 4.688 kB / 1.083 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.7575, allocations: 15.94 kB / 1.083 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.7578, allocations: 95.83 kB / 1.083 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7578, allocations: 11.94 kB / 1.083 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.758, allocations: 47.72 kB / 1.083 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.7581, allocations: 24 kB / 1.083 GB, free: 5.727 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.00029/0.7584, allocations: 285.6 kB / 1.083 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.7584, allocations: 75.53 kB / 1.083 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/0.7589, allocations: 415 kB / 1.084 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7589, allocations: 3.984 kB / 1.084 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7589, allocations: 4 kB / 1.084 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.7589, allocations: 288 / 1.084 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.7602, allocations: 1.336 MB / 1.085 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7602, allocations: 4 kB / 1.085 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.7603, allocations: 47.86 kB / 1.085 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7603, allocations: 7.984 kB / 1.085 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.7603, allocations: 11.94 kB / 1.085 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7603, allocations: 4 kB / 1.085 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7603, allocations: 11.94 kB / 1.085 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.7607, allocations: 0.5455 MB / 1.086 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.7609, allocations: 111.4 kB / 1.086 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.7609, allocations: 19.92 kB / 1.086 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.7611, allocations: 8 kB / 1.086 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.7611, allocations: 31.84 kB / 1.086 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.7611, allocations: 12 kB / 1.086 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003988/0.7615, allocations: 495 kB / 1.086 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.7615, allocations: 0 / 1.086 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007047/0.7622, allocations: 326.9 kB / 1.087 GB, free: 1.828 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003855/0.7626, allocations: 313.6 kB / 1.087 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.763, allocations: 331.4 kB / 1.087 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7631, allocations: 5.375 kB / 1.087 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.7632, allocations: 136.5 kB / 1.087 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.764, allocations: 273.6 kB / 1.088 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.7657, allocations: 1.613 MB / 1.089 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.766, allocations: 479.8 kB / 1.09 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.7661, allocations: 55.42 kB / 1.09 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/0.7661, allocations: 0 / 1.09 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.01476/0.7809, allocations: 14.32 MB / 1.104 GB, free: 348 kB / 0.8698 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.62202266510576] Failed to read output from testmodel.py, exit status != 0: 0.7871897453442216 0.796096118 0.048922894 Calling exit ...