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.000897/0.000897, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009114/0.0009114, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9509/0.9509, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8428/0.8428, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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 1.703e-06/1.703e-06, allocations: 0 / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.982e-05, allocations: 4.422 kB / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1553/0.1553, allocations: 158.6 MB / 0.6765 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3169/0.4722, allocations: 5.418 MB / 0.6817 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.4736, allocations: 76.92 kB / 0.6818 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.4751, allocations: 0.5681 MB / 0.6824 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.4778, allocations: 1.243 MB / 0.6836 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.4809, allocations: 1.705 MB / 0.6853 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.4844, allocations: 2.706 MB / 0.6879 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.4859, allocations: 1.001 MB / 0.6889 GB, free: 47.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.4882, allocations: 1.462 MB / 0.6903 GB, free: 47.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.4893, allocations: 0.7947 MB / 0.6911 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.4895, allocations: 107.4 kB / 0.6912 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.4912, allocations: 0.9998 MB / 0.6922 GB, free: 47.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.4915, allocations: 404 kB / 0.6925 GB, free: 47.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.492, allocations: 433.4 kB / 0.693 GB, free: 47.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.4941, allocations: 1.486 MB / 0.6944 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4941, allocations: 0 / 0.6944 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.71e-07/0.4942, allocations: 1.031 kB / 0.6944 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.4942, allocations: 0 / 0.6944 GB, free: 46.97 MB / 0.6355 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.001455/0.4956, allocations: 1.522 MB / 0.6959 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.4957, allocations: 11.19 kB / 0.6959 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.4964, allocations: 337.8 kB / 0.6962 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.4972, allocations: 0.8954 MB / 0.6971 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.4973, allocations: 288.2 kB / 0.6974 GB, free: 45.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.4974, allocations: 92.53 kB / 0.6975 GB, free: 45.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005932/0.498, allocations: 0.6408 MB / 0.6981 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.498, allocations: 0 / 0.6981 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.4981, allocations: 36.34 kB / 0.6981 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4981, allocations: 21.59 kB / 0.6981 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.4984, allocations: 249.3 kB / 0.6984 GB, free: 45.31 MB / 0.6355 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.002128/0.5005, allocations: 2.857 MB / 0.7012 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.5007, allocations: 81.48 kB / 0.7013 GB, free: 43.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.5007, allocations: 54.8 kB / 0.7013 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.501, allocations: 93.64 kB / 0.7014 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.501, allocations: 36.95 kB / 0.7014 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.501, allocations: 0 / 0.7014 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0004803/0.5015, allocations: 254.4 kB / 0.7017 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.5015, allocations: 54.41 kB / 0.7017 GB, free: 43.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.5019, allocations: 0.6497 MB / 0.7024 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5019, allocations: 38.45 kB / 0.7024 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.5021, allocations: 0.6163 MB / 0.703 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.5022, allocations: 92.94 kB / 0.7031 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5023, allocations: 99.09 kB / 0.7032 GB, free: 42.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5024, allocations: 0.5594 MB / 0.7037 GB, free: 42.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.5025, allocations: 33.7 kB / 0.7038 GB, free: 42.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.5027, allocations: 0.7232 MB / 0.7045 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.503, allocations: 371.2 kB / 0.7048 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.503, allocations: 4.844 kB / 0.7048 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004076/0.5034, allocations: 354.4 kB / 0.7052 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5034, allocations: 9.469 kB / 0.7052 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5034, allocations: 9.562 kB / 0.7052 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5034, allocations: 9.281 kB / 0.7052 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.5036, allocations: 87.11 kB / 0.7053 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5036, allocations: 12.69 kB / 0.7053 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.5039, allocations: 44.17 kB / 0.7053 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.5039, allocations: 26.23 kB / 0.7054 GB, free: 41.16 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.0001603/0.5041, allocations: 196.4 kB / 0.7055 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.5042, allocations: 87.23 kB / 0.7056 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.5045, allocations: 262.8 kB / 0.7059 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.5045, allocations: 5.344 kB / 0.7059 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.5045, allocations: 0 / 0.7059 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5045, allocations: 0.7812 kB / 0.7059 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5055, allocations: 0.9708 MB / 0.7068 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.5055, allocations: 9.656 kB / 0.7068 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.462e-05/0.5056, allocations: 40.78 kB / 0.7069 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5056, allocations: 8.031 kB / 0.7069 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5056, allocations: 8.375 kB / 0.7069 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5056, allocations: 10.19 kB / 0.7069 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5056, allocations: 5.938 kB / 0.7069 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.5059, allocations: 0.5145 MB / 0.7074 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.506, allocations: 106.9 kB / 0.7075 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.5061, allocations: 15.44 kB / 0.7075 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5062, allocations: 9.719 kB / 0.7075 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.5062, allocations: 28.14 kB / 0.7076 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5062, allocations: 18.59 kB / 0.7076 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002167/0.5065, allocations: 406.1 kB / 0.708 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5065, allocations: 1 kB / 0.708 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007288/0.5072, allocations: 315.9 kB / 0.7083 GB, free: 39.68 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.0003299/0.5075, allocations: 249.6 kB / 0.7085 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.5078, allocations: 181.4 kB / 0.7087 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5078, allocations: 1.125 kB / 0.7087 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.5079, allocations: 84.86 kB / 0.7088 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.5086, allocations: 281.5 kB / 0.709 GB, free: 39.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.5104, allocations: 1.52 MB / 0.7105 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.5105, allocations: 210.7 kB / 0.7107 GB, free: 38.53 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.5108, allocations: 107.6 kB / 0.7108 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.5112, allocations: 281.9 kB / 0.7111 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.5112, allocations: 0 / 0.7111 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.01887/0.53, allocations: 12.27 MB / 0.7231 GB, free: 37.18 MB / 0.6355 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.667989308014512]