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.0009301/0.0009301, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0009358/0.0009358, allocations: 169 kB / 23.28 MB, free: 1.215 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.9714/0.9714, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7551/0.7551, allocations: 154.9 MB / 415.1 MB, free: 236 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.583e-06/1.583e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.758e-05, allocations: 5.156 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1392/0.1392, allocations: 158.6 MB / 0.676 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3019/0.4411, allocations: 5.418 MB / 0.6813 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.4428, allocations: 82.05 kB / 0.6814 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4445, allocations: 0.5641 MB / 0.682 GB, free: 47.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.4475, allocations: 1.246 MB / 0.6832 GB, free: 47.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.4508, allocations: 1.71 MB / 0.6849 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003612/0.4544, allocations: 2.705 MB / 0.6875 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.4561, allocations: 0.9965 MB / 0.6885 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.4589, allocations: 1.462 MB / 0.6899 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.4602, allocations: 0.7957 MB / 0.6907 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002314/0.4604, allocations: 110.3 kB / 0.6908 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.4624, allocations: 0.9984 MB / 0.6918 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000408/0.4628, allocations: 412 kB / 0.6921 GB, free: 47.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007249/0.4635, allocations: 426.5 kB / 0.6926 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002643/0.4662, allocations: 1.488 MB / 0.694 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4662, allocations: 0 / 0.694 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4662, allocations: 1 kB / 0.694 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.681e-05/0.4662, allocations: 0 / 0.694 GB, free: 46.93 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.00143/0.4676, allocations: 1.526 MB / 0.6955 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4677, allocations: 9.344 kB / 0.6955 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.4684, allocations: 331.5 kB / 0.6958 GB, free: 45.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.4693, allocations: 0.8983 MB / 0.6967 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.4694, allocations: 290.7 kB / 0.697 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.4695, allocations: 86.94 kB / 0.6971 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.4701, allocations: 0.6425 MB / 0.6977 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4702, allocations: 6.844 kB / 0.6977 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.4702, allocations: 33.25 kB / 0.6977 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4702, allocations: 24.47 kB / 0.6977 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.4705, allocations: 242.1 kB / 0.698 GB, free: 45.28 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.002296/0.4728, allocations: 2.855 MB / 0.7008 GB, free: 43.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.473, allocations: 86.62 kB / 0.7009 GB, free: 43.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.473, allocations: 54.36 kB / 0.7009 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.4733, allocations: 105.6 kB / 0.701 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.4733, allocations: 36.11 kB / 0.701 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.715e-06/0.4733, allocations: 0 / 0.701 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0004881/0.4738, allocations: 257.2 kB / 0.7013 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.4738, allocations: 62.34 kB / 0.7013 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.4742, allocations: 0.645 MB / 0.702 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.4743, allocations: 35.58 kB / 0.702 GB, free: 43.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.4745, allocations: 0.6061 MB / 0.7026 GB, free: 42.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.4746, allocations: 100.8 kB / 0.7027 GB, free: 42.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4747, allocations: 101.7 kB / 0.7028 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4748, allocations: 0.5539 MB / 0.7033 GB, free: 42.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.4748, allocations: 33.62 kB / 0.7034 GB, free: 42.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.4751, allocations: 0.724 MB / 0.7041 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.4754, allocations: 374.7 kB / 0.7044 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4754, allocations: 8.062 kB / 0.7044 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003952/0.4758, allocations: 348.9 kB / 0.7048 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4758, allocations: 8.562 kB / 0.7048 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4758, allocations: 7.031 kB / 0.7048 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4758, allocations: 11.44 kB / 0.7048 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.476, allocations: 87.86 kB / 0.7049 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.476, allocations: 12.97 kB / 0.7049 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4763, allocations: 48.39 kB / 0.7049 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4763, allocations: 23.97 kB / 0.705 GB, free: 41.12 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.0001748/0.4765, allocations: 191.6 kB / 0.7051 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.4766, allocations: 87.52 kB / 0.7052 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.4769, allocations: 264.8 kB / 0.7055 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.4769, allocations: 3.188 kB / 0.7055 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.4769, allocations: 4.062 kB / 0.7055 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4769, allocations: 0 / 0.7055 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4779, allocations: 0.965 MB / 0.7064 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.478, allocations: 6.688 kB / 0.7064 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.478, allocations: 43.02 kB / 0.7065 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4781, allocations: 5.344 kB / 0.7065 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4781, allocations: 11.78 kB / 0.7065 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4781, allocations: 9.312 kB / 0.7065 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.4781, allocations: 8.906 kB / 0.7065 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.4784, allocations: 0.5125 MB / 0.707 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4785, allocations: 111.5 kB / 0.7071 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.4786, allocations: 16.69 kB / 0.7071 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4787, allocations: 5.938 kB / 0.7071 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4787, allocations: 37.56 kB / 0.7072 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4787, allocations: 12.72 kB / 0.7072 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002293/0.479, allocations: 404.4 kB / 0.7076 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.479, allocations: 0 / 0.7076 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009888/0.48, allocations: 316.8 kB / 0.7079 GB, free: 39.64 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.0004354/0.4804, allocations: 242.1 kB / 0.7081 GB, free: 39.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.4808, allocations: 192.8 kB / 0.7083 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4808, allocations: 3.031 kB / 0.7083 GB, free: 39.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.4808, allocations: 84.33 kB / 0.7084 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4816, allocations: 277.1 kB / 0.7086 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.4835, allocations: 1.514 MB / 0.7101 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.4836, allocations: 213.2 kB / 0.7103 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004077/0.4841, allocations: 117 kB / 0.7104 GB, free: 38.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.4844, allocations: 281.3 kB / 0.7107 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.4844, allocations: 0.7812 kB / 0.7107 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.02058/0.505, allocations: 12.14 MB / 0.7225 GB, free: 37.18 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.268229641020298]