Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009013/0.0009013, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009205/0.0009205, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.613 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-545:108: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-545:116: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.8238/0.8238, allocations: 154.6 MB / 414.9 MB, free: 0.6406 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: translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5203 GB, free: 1.418 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.169e-05, allocations: 2.312 kB / 0.5204 GB, free: 1.414 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.55/0.55, allocations: 248.4 MB / 0.763 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.5723, allocations: 22.96 MB / 0.7854 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.5748, allocations: 79.31 kB / 0.7855 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.579, allocations: 0.9974 MB / 0.7864 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.584, allocations: 1.554 MB / 0.788 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.5883, allocations: 2.063 MB / 0.79 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003902/0.5922, allocations: 2.719 MB / 0.7926 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.5937, allocations: 1.001 MB / 0.7936 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.5969, allocations: 2.017 MB / 0.7956 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.5979, allocations: 0.7985 MB / 0.7963 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.5981, allocations: 108 kB / 0.7965 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.6005, allocations: 1.418 MB / 0.7978 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.6009, allocations: 410.7 kB / 0.7982 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005941/0.6015, allocations: 439 kB / 0.7986 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.6045, allocations: 1.643 MB / 0.8003 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.6045, allocations: 0 / 0.8003 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6045, allocations: 0 / 0.8003 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.6045, allocations: 0 / 0.8003 GB, free: 11.14 MB / 0.6198 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.001582/0.6061, allocations: 1.541 MB / 0.8018 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6062, allocations: 8.031 kB / 0.8018 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.607, allocations: 347.4 kB / 0.8021 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.608, allocations: 0.9095 MB / 0.803 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.6081, allocations: 287.6 kB / 0.8033 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.6082, allocations: 100 kB / 0.8034 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.6091, allocations: 0.6846 MB / 0.804 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.6091, allocations: 7.938 kB / 0.804 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.6091, allocations: 39.94 kB / 0.8041 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.6092, allocations: 20 kB / 0.8041 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.6096, allocations: 307.7 kB / 0.8044 GB, free: 6.754 MB / 0.6198 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.002556/0.6122, allocations: 3.007 MB / 0.8073 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.6124, allocations: 91.11 kB / 0.8074 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.6125, allocations: 55.72 kB / 0.8075 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.6128, allocations: 123.9 kB / 0.8076 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6129, allocations: 41.38 kB / 0.8076 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.6129, allocations: 0 / 0.8076 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0005777/0.6134, allocations: 267.4 kB / 0.8079 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.6135, allocations: 59.41 kB / 0.8079 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.614, allocations: 0.675 MB / 0.8086 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.6141, allocations: 33.7 kB / 0.8086 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.6144, allocations: 0.5921 MB / 0.8092 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.6144, allocations: 91.22 kB / 0.8093 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6145, allocations: 99.8 kB / 0.8094 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6147, allocations: 0.5508 MB / 0.8099 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.6148, allocations: 48.95 kB / 0.81 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.6152, allocations: 0.7358 MB / 0.8107 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.6155, allocations: 386.8 kB / 0.811 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6155, allocations: 4 kB / 0.8111 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004543/0.6159, allocations: 376.9 kB / 0.8114 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6159, allocations: 4 kB / 0.8114 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6159, allocations: 8 kB / 0.8114 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.616, allocations: 8 kB / 0.8114 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.6162, allocations: 87.83 kB / 0.8115 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6162, allocations: 14.36 kB / 0.8115 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.6164, allocations: 51.61 kB / 0.8116 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.6165, allocations: 31.98 kB / 0.8116 GB, free: 14.81 MB / 0.6355 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.0001707/0.6166, allocations: 188.7 kB / 0.8118 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.6167, allocations: 79.53 kB / 0.8119 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.6171, allocations: 274.3 kB / 0.8121 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.6171, allocations: 7.984 kB / 0.8121 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6171, allocations: 0 / 0.8121 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6171, allocations: 3.938 kB / 0.8121 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.6183, allocations: 1.127 MB / 0.8132 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.6183, allocations: 4 kB / 0.8132 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.6184, allocations: 44.48 kB / 0.8133 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.6184, allocations: 8 kB / 0.8133 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.6184, allocations: 12 kB / 0.8133 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6184, allocations: 4 kB / 0.8133 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.6184, allocations: 11.94 kB / 0.8133 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.6188, allocations: 0.5143 MB / 0.8138 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6189, allocations: 115.4 kB / 0.8139 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.619, allocations: 15.94 kB / 0.8139 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.6191, allocations: 8 kB / 0.814 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.6192, allocations: 35.84 kB / 0.814 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.6192, allocations: 16 kB / 0.814 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003695/0.6196, allocations: 438.9 kB / 0.8144 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.6196, allocations: 0 / 0.8144 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008161/0.6204, allocations: 319 kB / 0.8147 GB, free: 11.39 MB / 0.6355 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.000475/0.6208, allocations: 324.9 kB / 0.815 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.6212, allocations: 200.9 kB / 0.8152 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6212, allocations: 0 / 0.8152 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.6213, allocations: 84.91 kB / 0.8153 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.6222, allocations: 296.1 kB / 0.8156 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.6241, allocations: 1.52 MB / 0.8171 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.6243, allocations: 209.7 kB / 0.8173 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003583/0.6246, allocations: 134.5 kB / 0.8174 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.6247, allocations: 56.48 kB / 0.8175 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.6247, allocations: 0 / 0.8175 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of Templates: time 0.01818/0.6429, allocations: 12.05 MB / 0.8292 GB, free: 12.74 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.774776347912848]