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.0009962/0.0009962, 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.001147/0.001147, allocations: 169 kB / 23.02 MB, free: 1.547 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.9501/0.9501, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7466/0.7466, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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.913e-06/1.913e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001462/0.0001481, allocations: 6.797 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1431/0.1433, allocations: 161.6 MB / 0.6781 GB, free: 276 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.2765/0.4197, allocations: 5.437 MB / 0.6834 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00483/0.4246, allocations: 76.33 kB / 0.6835 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.4268, allocations: 0.5686 MB / 0.6841 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.4306, allocations: 1.244 MB / 0.6853 GB, free: 47.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.4338, allocations: 1.71 MB / 0.6869 GB, free: 47.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003043/0.4368, allocations: 2.699 MB / 0.6896 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.438, allocations: 0.999 MB / 0.6906 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.4395, allocations: 1.459 MB / 0.692 GB, free: 47.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.4402, allocations: 0.7943 MB / 0.6928 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.4403, allocations: 109.1 kB / 0.6929 GB, free: 47.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.4415, allocations: 0.9998 MB / 0.6938 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.4418, allocations: 414.5 kB / 0.6942 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.4421, allocations: 426.6 kB / 0.6946 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.4434, allocations: 1.488 MB / 0.6961 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4434, allocations: 0.8438 kB / 0.6961 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4434, allocations: 0 / 0.6961 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4434, allocations: 0.8438 kB / 0.6961 GB, free: 46.7 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.001204/0.4446, allocations: 1.507 MB / 0.6976 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4446, allocations: 11 kB / 0.6976 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006238/0.4453, allocations: 330.5 kB / 0.6979 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.4461, allocations: 0.9158 MB / 0.6988 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4462, allocations: 287.8 kB / 0.6991 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.4463, allocations: 92.06 kB / 0.6991 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.447, allocations: 0.6921 MB / 0.6998 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.447, allocations: 0.9375 kB / 0.6998 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.4471, allocations: 36.03 kB / 0.6999 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.4471, allocations: 20.66 kB / 0.6999 GB, free: 45.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.4475, allocations: 309.1 kB / 0.7002 GB, free: 45.05 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.00202/0.4495, allocations: 3.014 MB / 0.7031 GB, free: 43.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.4497, allocations: 87.31 kB / 0.7032 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.4498, allocations: 59.94 kB / 0.7033 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.45, allocations: 90.05 kB / 0.7033 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.45, allocations: 43.72 kB / 0.7034 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.45, allocations: 0 / 0.7034 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0004628/0.4505, allocations: 269.1 kB / 0.7036 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.4505, allocations: 54.25 kB / 0.7037 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.451, allocations: 0.6649 MB / 0.7043 GB, free: 43.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.451, allocations: 35.98 kB / 0.7044 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.4512, allocations: 0.5902 MB / 0.7049 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4512, allocations: 96.58 kB / 0.705 GB, free: 42.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.4513, allocations: 101.4 kB / 0.7051 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.4514, allocations: 0.5511 MB / 0.7057 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.4515, allocations: 48.84 kB / 0.7057 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.4517, allocations: 0.7323 MB / 0.7064 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.452, allocations: 388.2 kB / 0.7068 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.452, allocations: 0 / 0.7068 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004074/0.4524, allocations: 376.9 kB / 0.7072 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4524, allocations: 6.812 kB / 0.7072 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4524, allocations: 8.75 kB / 0.7072 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4524, allocations: 8.625 kB / 0.7072 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.4526, allocations: 89.98 kB / 0.7073 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4526, allocations: 13.66 kB / 0.7073 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.4528, allocations: 43.48 kB / 0.7073 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.4529, allocations: 28.92 kB / 0.7074 GB, free: 40.87 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.0001269/0.453, allocations: 191.8 kB / 0.7075 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.4531, allocations: 85.45 kB / 0.7076 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.4534, allocations: 274.3 kB / 0.7079 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.4534, allocations: 3.188 kB / 0.7079 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4534, allocations: 0 / 0.7079 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4534, allocations: 2.281 kB / 0.7079 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009205/0.4543, allocations: 1.124 MB / 0.709 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.4543, allocations: 10.16 kB / 0.709 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.4544, allocations: 41.42 kB / 0.709 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4544, allocations: 6.25 kB / 0.709 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4544, allocations: 11.72 kB / 0.7091 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4544, allocations: 12.17 kB / 0.7091 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4544, allocations: 8.344 kB / 0.7091 GB, free: 40.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.4547, allocations: 0.523 MB / 0.7096 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4548, allocations: 108.9 kB / 0.7097 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4548, allocations: 12.44 kB / 0.7097 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.455, allocations: 9.469 kB / 0.7097 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.455, allocations: 31.36 kB / 0.7097 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.455, allocations: 16.75 kB / 0.7098 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002637/0.4553, allocations: 431.3 kB / 0.7102 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4553, allocations: 0.9375 kB / 0.7102 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004756/0.4558, allocations: 315.4 kB / 0.7105 GB, free: 39.36 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.000279/0.456, allocations: 242.4 kB / 0.7107 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.4563, allocations: 197.9 kB / 0.7109 GB, free: 39.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4563, allocations: 0.9688 kB / 0.7109 GB, free: 39.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.4564, allocations: 89.25 kB / 0.711 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.4571, allocations: 290.6 kB / 0.7113 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.4585, allocations: 1.512 MB / 0.7127 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.4586, allocations: 206.5 kB / 0.7129 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002629/0.4589, allocations: 139.5 kB / 0.7131 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.459, allocations: 52.59 kB / 0.7131 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/0.459, allocations: 4.188 kB / 0.7131 GB, free: 38.19 MB / 0.6355 GB Notification: Performance of Templates: time 0.01621/0.4752, allocations: 12.09 MB / 0.7249 GB, free: 36.88 MB / 0.6355 GB " [Timeout remaining time 660] 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.272484754212201]