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.001054/0.001054, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001697/0.001697, allocations: 169 kB / 23.27 MB, free: 1.223 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.9585/0.9585, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.8206/0.8206, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.753e-06/1.753e-06, allocations: 0 / 0.5208 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.567e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1395/0.1395, allocations: 158.6 MB / 0.6757 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.308/0.4475, allocations: 5.418 MB / 0.681 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.4492, allocations: 77.09 kB / 0.6811 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.4507, allocations: 0.571 MB / 0.6816 GB, free: 47.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.4535, allocations: 1.239 MB / 0.6828 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.4569, allocations: 1.715 MB / 0.6845 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.4604, allocations: 2.701 MB / 0.6871 GB, free: 47.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.4621, allocations: 0.9993 MB / 0.6881 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.465, allocations: 1.454 MB / 0.6895 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.4663, allocations: 0.8038 MB / 0.6903 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.4665, allocations: 107 kB / 0.6904 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.4687, allocations: 1.001 MB / 0.6914 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.469, allocations: 403.5 kB / 0.6918 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.4696, allocations: 434.3 kB / 0.6922 GB, free: 46.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.472, allocations: 1.482 MB / 0.6936 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.472, allocations: 7.562 kB / 0.6936 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.293e-06/0.472, allocations: 0.8438 kB / 0.6936 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.472, allocations: 0 / 0.6936 GB, free: 46.37 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.001767/0.4738, allocations: 1.522 MB / 0.6951 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4738, allocations: 10.84 kB / 0.6951 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/0.4747, allocations: 335.5 kB / 0.6955 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.4759, allocations: 0.8952 MB / 0.6963 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.4761, allocations: 292.7 kB / 0.6966 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.4761, allocations: 89.41 kB / 0.6967 GB, free: 44.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.4769, allocations: 0.6388 MB / 0.6973 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.477, allocations: 6.984 kB / 0.6973 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.477, allocations: 36.41 kB / 0.6974 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.477, allocations: 21 kB / 0.6974 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.4774, allocations: 244.5 kB / 0.6976 GB, free: 44.72 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.002594/0.48, allocations: 2.854 MB / 0.7004 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4802, allocations: 87.11 kB / 0.7005 GB, free: 43.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.4802, allocations: 52.66 kB / 0.7005 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.4805, allocations: 101.2 kB / 0.7006 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.4805, allocations: 40.17 kB / 0.7007 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.4805, allocations: 0.8125 kB / 0.7007 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0005668/0.4811, allocations: 254.9 kB / 0.7009 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.4811, allocations: 57.5 kB / 0.701 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005797/0.4817, allocations: 0.6532 MB / 0.7016 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4817, allocations: 31.92 kB / 0.7016 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.482, allocations: 0.615 MB / 0.7022 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.4821, allocations: 91.88 kB / 0.7023 GB, free: 42.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.4822, allocations: 102.5 kB / 0.7024 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4824, allocations: 0.5558 MB / 0.703 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/0.4824, allocations: 39.61 kB / 0.703 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.4827, allocations: 0.7197 MB / 0.7037 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.483, allocations: 375 kB / 0.7041 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4831, allocations: 6.594 kB / 0.7041 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004749/0.4835, allocations: 350.9 kB / 0.7044 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4835, allocations: 11.75 kB / 0.7044 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4836, allocations: 5 kB / 0.7044 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4836, allocations: 10.31 kB / 0.7044 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.4838, allocations: 91.06 kB / 0.7045 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4838, allocations: 14.92 kB / 0.7045 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.4841, allocations: 41.89 kB / 0.7046 GB, free: 40.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.4842, allocations: 27.12 kB / 0.7046 GB, free: 40.56 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.0001539/0.4843, allocations: 192.3 kB / 0.7048 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.4844, allocations: 86.55 kB / 0.7049 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.4848, allocations: 260.9 kB / 0.7051 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4848, allocations: 3.062 kB / 0.7051 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4848, allocations: 1.031 kB / 0.7051 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4848, allocations: 6.375 kB / 0.7051 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.4859, allocations: 0.9624 MB / 0.7061 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4859, allocations: 9.625 kB / 0.7061 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.486, allocations: 45.73 kB / 0.7061 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.4861, allocations: 5.906 kB / 0.7061 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4861, allocations: 10.44 kB / 0.7061 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.4861, allocations: 9 kB / 0.7061 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.4861, allocations: 8.906 kB / 0.7062 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.4864, allocations: 0.5115 MB / 0.7067 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4866, allocations: 112.2 kB / 0.7068 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.4866, allocations: 14.38 kB / 0.7068 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.4868, allocations: 6.406 kB / 0.7068 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.4869, allocations: 34.39 kB / 0.7068 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4869, allocations: 13.09 kB / 0.7068 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003054/0.4872, allocations: 403.3 kB / 0.7072 GB, free: 39.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4872, allocations: 0 / 0.7072 GB, free: 39.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008433/0.488, allocations: 314.2 kB / 0.7075 GB, free: 39.08 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.0003518/0.4884, allocations: 247.1 kB / 0.7077 GB, free: 38.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.4887, allocations: 188.3 kB / 0.7079 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4887, allocations: 0.7812 kB / 0.7079 GB, free: 38.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.4888, allocations: 83.92 kB / 0.708 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.4897, allocations: 279 kB / 0.7083 GB, free: 38.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.4916, allocations: 1.524 MB / 0.7098 GB, free: 38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.4918, allocations: 207.5 kB / 0.71 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003685/0.4921, allocations: 109.1 kB / 0.7101 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.4926, allocations: 279 kB / 0.7103 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of SimCode: time 6.32e-07/0.4926, allocations: 0 / 0.7103 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.02132/0.5139, allocations: 12.15 MB / 0.7222 GB, free: 36.61 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.351693886797875]