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.0009684/0.0009684, allocations: 93.06 kB / 19.65 MB, free: 280 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.001263/0.001263, allocations: 165 kB / 23.02 MB, free: 1.551 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.965/0.965, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8269/0.8269, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.473e-06/1.473e-06, allocations: 0 / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.132e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1477/0.1477, allocations: 161.6 MB / 0.6781 GB, free: 252 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3463/0.4941, allocations: 5.433 MB / 0.6834 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.4957, allocations: 76.66 kB / 0.6835 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.4971, allocations: 0.5645 MB / 0.684 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.4997, allocations: 1.246 MB / 0.6853 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.503, allocations: 1.711 MB / 0.6869 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.5075, allocations: 2.702 MB / 0.6896 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.5095, allocations: 0.9959 MB / 0.6905 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.5124, allocations: 1.402 MB / 0.6919 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.5138, allocations: 0.8037 MB / 0.6927 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.5141, allocations: 109.1 kB / 0.6928 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.5169, allocations: 1.076 MB / 0.6938 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.5173, allocations: 408.7 kB / 0.6942 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.5179, allocations: 435 kB / 0.6947 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.5207, allocations: 1.52 MB / 0.6961 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.5207, allocations: 0 / 0.6961 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5207, allocations: 0.6875 kB / 0.6961 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.227e-05/0.5207, allocations: 0 / 0.6961 GB, free: 46.63 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.001706/0.5224, allocations: 1.52 MB / 0.6976 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5225, allocations: 8.969 kB / 0.6976 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/0.5234, allocations: 347.3 kB / 0.698 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5245, allocations: 0.9087 MB / 0.6988 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.5246, allocations: 290.6 kB / 0.6991 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.5247, allocations: 91.81 kB / 0.6992 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008901/0.5256, allocations: 0.6865 MB / 0.6999 GB, free: 44.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5256, allocations: 4.781 kB / 0.6999 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.5256, allocations: 36.25 kB / 0.6999 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.5257, allocations: 26.44 kB / 0.6999 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.5262, allocations: 309.2 kB / 0.7002 GB, free: 44.97 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.002657/0.5288, allocations: 3.013 MB / 0.7032 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.5291, allocations: 85.12 kB / 0.7033 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.5292, allocations: 61.03 kB / 0.7033 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/0.5295, allocations: 96.73 kB / 0.7034 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.5295, allocations: 39.89 kB / 0.7035 GB, free: 43.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.535e-06/0.5295, allocations: 0.9375 kB / 0.7035 GB, free: 43.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0005682/0.5301, allocations: 270.4 kB / 0.7037 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.5301, allocations: 54.16 kB / 0.7038 GB, free: 43.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.5306, allocations: 0.666 MB / 0.7044 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5306, allocations: 33.14 kB / 0.7044 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.5309, allocations: 0.5921 MB / 0.705 GB, free: 42.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.5309, allocations: 95.81 kB / 0.7051 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.531, allocations: 95.98 kB / 0.7052 GB, free: 42.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5311, allocations: 0.5571 MB / 0.7057 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.5312, allocations: 42.45 kB / 0.7058 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.5315, allocations: 0.7371 MB / 0.7065 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.5318, allocations: 384.2 kB / 0.7069 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5318, allocations: 3.875 kB / 0.7069 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004664/0.5322, allocations: 377.4 kB / 0.7072 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5323, allocations: 13.44 kB / 0.7073 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5323, allocations: 6.156 kB / 0.7073 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.5323, allocations: 15 kB / 0.7073 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.5325, allocations: 85.75 kB / 0.7074 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5325, allocations: 13.69 kB / 0.7074 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.5328, allocations: 50.75 kB / 0.7074 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.5328, allocations: 27.52 kB / 0.7074 GB, free: 40.79 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.0001538/0.533, allocations: 188.3 kB / 0.7076 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.533, allocations: 82.81 kB / 0.7077 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.5334, allocations: 278.3 kB / 0.708 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.5334, allocations: 2.625 kB / 0.708 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5334, allocations: 0 / 0.708 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5334, allocations: 1.25 kB / 0.708 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.5346, allocations: 1.128 MB / 0.7091 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5346, allocations: 4.062 kB / 0.7091 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.5347, allocations: 46.39 kB / 0.7091 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5347, allocations: 9.609 kB / 0.7091 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5347, allocations: 12.44 kB / 0.7091 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.5347, allocations: 3.812 kB / 0.7091 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5347, allocations: 12.73 kB / 0.7092 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.5351, allocations: 0.5153 MB / 0.7097 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5352, allocations: 117 kB / 0.7098 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.5352, allocations: 16.44 kB / 0.7098 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5354, allocations: 10.31 kB / 0.7098 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.5354, allocations: 29.33 kB / 0.7098 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5354, allocations: 14.19 kB / 0.7098 GB, free: 39.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003211/0.5357, allocations: 439.2 kB / 0.7103 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5357, allocations: 0.625 kB / 0.7103 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008114/0.5365, allocations: 312.9 kB / 0.7106 GB, free: 39.29 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.0003778/0.5369, allocations: 249.3 kB / 0.7108 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.5373, allocations: 201.6 kB / 0.711 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5373, allocations: 2.625 kB / 0.711 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.5374, allocations: 88.44 kB / 0.7111 GB, free: 39.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.5381, allocations: 295 kB / 0.7114 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.54, allocations: 1.518 MB / 0.7128 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.5401, allocations: 205 kB / 0.713 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003654/0.5405, allocations: 134.9 kB / 0.7132 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.5406, allocations: 54.84 kB / 0.7132 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of SimCode: time 2.034e-06/0.5406, allocations: 0.9688 kB / 0.7132 GB, free: 38.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.01988/0.5605, allocations: 11.25 MB / 0.7242 GB, free: 36.92 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.759633433073759]