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.0009161/0.0009161, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009303/0.0009303, allocations: 177 kB / 23.36 MB, free: 1.129 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.9732/0.9732, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7781/0.7781, allocations: 154.6 MB / 414.8 MB, free: 0.5 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.583e-06/1.583e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.898e-05, allocations: 5.922 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1652/0.1652, allocations: 160.8 MB / 0.6258 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.008079/0.1733, allocations: 5.558 MB / 0.6313 GB, free: 348 kB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.1748, allocations: 71.38 kB / 0.6313 GB, free: 276 kB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.1762, allocations: 0.5662 MB / 0.6319 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.1792, allocations: 1.243 MB / 0.6331 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.1823, allocations: 1.714 MB / 0.6348 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002916/0.1852, allocations: 2.707 MB / 0.6374 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.1863, allocations: 1.003 MB / 0.6384 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.1885, allocations: 1.454 MB / 0.6398 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.1893, allocations: 0.7595 MB / 0.6405 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.1895, allocations: 108 kB / 0.6406 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.1911, allocations: 0.9972 MB / 0.6416 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.1914, allocations: 406.6 kB / 0.642 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.1917, allocations: 431.1 kB / 0.6424 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.1935, allocations: 1.479 MB / 0.6439 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1936, allocations: 0 / 0.6439 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1936, allocations: 0 / 0.6439 GB, free: 3.324 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.1936, allocations: 0 / 0.6439 GB, free: 3.324 MB / 0.6042 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.001287/0.1949, allocations: 1.381 MB / 0.6452 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1949, allocations: 8.031 kB / 0.6452 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.1955, allocations: 299.3 kB / 0.6455 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.1964, allocations: 0.7155 MB / 0.6462 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004952/0.1969, allocations: 295.5 kB / 0.6465 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.197, allocations: 92 kB / 0.6466 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.1976, allocations: 0.6388 MB / 0.6472 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1976, allocations: 0 / 0.6472 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.1977, allocations: 40 kB / 0.6472 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1977, allocations: 23.98 kB / 0.6473 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.198, allocations: 230.2 kB / 0.6475 GB, free: 15.47 MB / 0.6198 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.001988/0.2, allocations: 2.165 MB / 0.6496 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2001, allocations: 124.1 kB / 0.6497 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.2002, allocations: 47.67 kB / 0.6498 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.2004, allocations: 95.86 kB / 0.6499 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.2004, allocations: 38.56 kB / 0.6499 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.2004, allocations: 4 kB / 0.6499 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0003793/0.2008, allocations: 193.4 kB / 0.6501 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2009, allocations: 55.41 kB / 0.6501 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.2012, allocations: 0.5856 MB / 0.6507 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.2013, allocations: 29.7 kB / 0.6507 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.2015, allocations: 473.3 kB / 0.6512 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.2015, allocations: 91.25 kB / 0.6513 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/0.2016, allocations: 98.06 kB / 0.6514 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2017, allocations: 386.6 kB / 0.6517 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.2018, allocations: 31.81 kB / 0.6518 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.2021, allocations: 0.6246 MB / 0.6524 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2023, allocations: 313.7 kB / 0.6527 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2023, allocations: 0 / 0.6527 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005805/0.2029, allocations: 296.4 kB / 0.653 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2029, allocations: 8 kB / 0.653 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2029, allocations: 4.688 kB / 0.653 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2029, allocations: 12.03 kB / 0.653 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.2031, allocations: 95.83 kB / 0.6531 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2031, allocations: 19.86 kB / 0.6531 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.2033, allocations: 47.67 kB / 0.6531 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.2034, allocations: 20 kB / 0.6532 GB, free: 9.227 MB / 0.6198 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.0001481/0.2035, allocations: 140.5 kB / 0.6533 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.2036, allocations: 51.94 kB / 0.6533 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.2039, allocations: 241.3 kB / 0.6536 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2039, allocations: 4 kB / 0.6536 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2039, allocations: 0 / 0.6536 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2039, allocations: 7.922 kB / 0.6536 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.2048, allocations: 0.91 MB / 0.6545 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2048, allocations: 7.938 kB / 0.6545 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.2048, allocations: 39.92 kB / 0.6545 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2049, allocations: 4 kB / 0.6545 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2049, allocations: 12 kB / 0.6545 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2049, allocations: 7.984 kB / 0.6545 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2049, allocations: 11.94 kB / 0.6545 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2051, allocations: 460.7 kB / 0.655 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2053, allocations: 99.38 kB / 0.6551 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.2053, allocations: 11.94 kB / 0.6551 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2054, allocations: 12 kB / 0.6551 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.2055, allocations: 31.84 kB / 0.6551 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2055, allocations: 12.06 kB / 0.6551 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002063/0.2057, allocations: 288.5 kB / 0.6554 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.2057, allocations: 0 / 0.6554 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005909/0.2063, allocations: 315 kB / 0.6557 GB, free: 6.383 MB / 0.6198 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.0003056/0.2066, allocations: 216 kB / 0.6559 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.2068, allocations: 182.5 kB / 0.6561 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.2068, allocations: 8 kB / 0.6561 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.2069, allocations: 76.56 kB / 0.6562 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.2076, allocations: 285.1 kB / 0.6565 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.2093, allocations: 1.481 MB / 0.6579 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2094, allocations: 201.8 kB / 0.6581 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000325/0.2098, allocations: 110.2 kB / 0.6582 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.2102, allocations: 243.1 kB / 0.6584 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of SimCode: time 1.533e-06/0.2102, allocations: 0 / 0.6584 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of Templates: time 0.01588/0.226, allocations: 12.13 MB / 0.6703 GB, free: 7.738 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.372682435903698]