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.001062/0.001062, allocations: 92.22 kB / 19.65 MB, free: 276 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.001156/0.001156, allocations: 169 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 1.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.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-535:34: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-535:42: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.7963/0.7963, allocations: 154.8 MB / 414.7 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.046e-05, allocations: 5.609 kB / 0.5206 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1684/0.1684, allocations: 161.6 MB / 0.6784 GB, free: 16 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3366/0.5051, allocations: 5.436 MB / 0.6837 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5062, allocations: 75.62 kB / 0.6837 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.5074, allocations: 0.5708 MB / 0.6843 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.5097, allocations: 1.238 MB / 0.6855 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.5127, allocations: 1.703 MB / 0.6872 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5157, allocations: 2.71 MB / 0.6898 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.5169, allocations: 0.9936 MB / 0.6908 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5187, allocations: 1.404 MB / 0.6922 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5197, allocations: 0.7982 MB / 0.6929 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.5199, allocations: 110.6 kB / 0.693 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.523, allocations: 1.074 MB / 0.6941 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005823/0.5235, allocations: 411.3 kB / 0.6945 GB, free: 46.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.5247, allocations: 435.3 kB / 0.6949 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.5282, allocations: 1.518 MB / 0.6964 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5282, allocations: 0.8438 kB / 0.6964 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5282, allocations: 0 / 0.6964 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.504e-05/0.5283, allocations: 1.031 kB / 0.6964 GB, free: 46.65 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.001562/0.5299, allocations: 1.519 MB / 0.6979 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5299, allocations: 11.94 kB / 0.6979 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.5307, allocations: 343.7 kB / 0.6982 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.5316, allocations: 0.9082 MB / 0.6991 GB, free: 45.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5317, allocations: 291.5 kB / 0.6994 GB, free: 45.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.5318, allocations: 95.12 kB / 0.6995 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/0.5326, allocations: 0.694 MB / 0.7001 GB, free: 45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5326, allocations: 0 / 0.7001 GB, free: 45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.5327, allocations: 36.75 kB / 0.7002 GB, free: 45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5327, allocations: 21.72 kB / 0.7002 GB, free: 45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.5332, allocations: 314.2 kB / 0.7005 GB, free: 44.98 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.002304/0.5355, allocations: 3.007 MB / 0.7034 GB, free: 43.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.5357, allocations: 84 kB / 0.7035 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.5357, allocations: 60.44 kB / 0.7036 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.536, allocations: 92.66 kB / 0.7037 GB, free: 43.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.536, allocations: 37.86 kB / 0.7037 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.536, allocations: 0 / 0.7037 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0005117/0.5365, allocations: 271.4 kB / 0.7039 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.5366, allocations: 54.38 kB / 0.704 GB, free: 43.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.5371, allocations: 0.6715 MB / 0.7047 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.5371, allocations: 33.23 kB / 0.7047 GB, free: 43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.5373, allocations: 0.5906 MB / 0.7053 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.5374, allocations: 97.72 kB / 0.7054 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.5375, allocations: 99.31 kB / 0.7055 GB, free: 42.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5376, allocations: 0.5579 MB / 0.706 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.139e-05/0.5377, allocations: 41.5 kB / 0.706 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.5379, allocations: 0.7306 MB / 0.7067 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.5382, allocations: 390.1 kB / 0.7071 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5382, allocations: 6.234 kB / 0.7071 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006198/0.5388, allocations: 377.5 kB / 0.7075 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5389, allocations: 14.88 kB / 0.7075 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5389, allocations: 6.469 kB / 0.7075 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.5389, allocations: 11.34 kB / 0.7075 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.5392, allocations: 91.67 kB / 0.7076 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.5392, allocations: 11.88 kB / 0.7076 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.5396, allocations: 43.36 kB / 0.7077 GB, free: 40.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.5396, allocations: 25.78 kB / 0.7077 GB, free: 40.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.0001776/0.5398, allocations: 193.2 kB / 0.7079 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.5399, allocations: 80.19 kB / 0.7079 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.5403, allocations: 275.2 kB / 0.7082 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.5403, allocations: 3.625 kB / 0.7082 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5403, allocations: 0 / 0.7082 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5403, allocations: 0 / 0.7082 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.5418, allocations: 1.13 MB / 0.7093 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.5418, allocations: 5.5 kB / 0.7093 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5419, allocations: 44.58 kB / 0.7094 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5419, allocations: 6.156 kB / 0.7094 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.5419, allocations: 11.06 kB / 0.7094 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5419, allocations: 5.969 kB / 0.7094 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.5419, allocations: 8.281 kB / 0.7094 GB, free: 40 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.5423, allocations: 0.5212 MB / 0.7099 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.5425, allocations: 113.9 kB / 0.71 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.5426, allocations: 13.83 kB / 0.71 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.5428, allocations: 9.781 kB / 0.71 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.5428, allocations: 31.33 kB / 0.7101 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.5428, allocations: 15.69 kB / 0.7101 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004187/0.5433, allocations: 435.2 kB / 0.7105 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5433, allocations: 0 / 0.7105 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001037/0.5443, allocations: 316.2 kB / 0.7108 GB, free: 39.31 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.0004351/0.5447, allocations: 259.8 kB / 0.711 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.5452, allocations: 200 kB / 0.7112 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5452, allocations: 1.031 kB / 0.7112 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.5453, allocations: 87.75 kB / 0.7113 GB, free: 39.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5464, allocations: 294.4 kB / 0.7116 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.5496, allocations: 1.513 MB / 0.7131 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.5498, allocations: 214.5 kB / 0.7133 GB, free: 38.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005769/0.5504, allocations: 140.7 kB / 0.7134 GB, free: 38.13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.5505, allocations: 49.88 kB / 0.7135 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.904e-06/0.5505, allocations: 0 / 0.7135 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.01912/0.5696, allocations: 11.24 MB / 0.7244 GB, free: 36.93 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.712621625047177]