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.001431/0.001431, allocations: 80.61 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001664/0.001664, allocations: 160.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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.743e-06/1.743e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.936e-05/4.111e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6646/0.6646, allocations: 221.7 MB / 0.8351 GB, free: 6.414 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02872/0.6933, allocations: 20.47 MB / 0.855 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.6959, allocations: 75.38 kB / 0.8551 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.6991, allocations: 0.9974 MB / 0.8561 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.7041, allocations: 1.55 MB / 0.8576 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.7101, allocations: 2.076 MB / 0.8596 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004549/0.7146, allocations: 2.71 MB / 0.8623 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.7164, allocations: 0.9587 MB / 0.8632 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.7206, allocations: 2.013 MB / 0.8652 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.7221, allocations: 0.7984 MB / 0.866 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.7223, allocations: 108 kB / 0.8661 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003355/0.7256, allocations: 1.425 MB / 0.8675 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.7261, allocations: 402.7 kB / 0.8678 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.7267, allocations: 443 kB / 0.8683 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003802/0.7305, allocations: 2.337 MB / 0.8705 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7305, allocations: 4 kB / 0.8705 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7305, allocations: 0 / 0.8705 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.7306, allocations: 0 / 0.8705 GB, free: 1.93 MB / 0.7012 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.002317/0.7329, allocations: 1.427 MB / 0.8719 GB, free: 476 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7329, allocations: 8.031 kB / 0.872 GB, free: 468 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.7341, allocations: 250.3 kB / 0.8722 GB, free: 220 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.7357, allocations: 0.8558 MB / 0.873 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.736, allocations: 287.6 kB / 0.8733 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.7361, allocations: 92 kB / 0.8734 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.7377, allocations: 0.935 MB / 0.8743 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.7378, allocations: 0 / 0.8743 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.7379, allocations: 39.94 kB / 0.8743 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.7379, allocations: 24 kB / 0.8744 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.7391, allocations: 0.6284 MB / 0.875 GB, free: 13.25 MB / 0.7169 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.003867/0.743, allocations: 2.618 MB / 0.8775 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.7434, allocations: 182.6 kB / 0.8777 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.7436, allocations: 138.1 kB / 0.8778 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/0.7441, allocations: 131.9 kB / 0.878 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.7442, allocations: 30.56 kB / 0.878 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/0.7442, allocations: 0 / 0.878 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001123/0.7453, allocations: 448.8 kB / 0.8784 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.7454, allocations: 59.41 kB / 0.8785 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/0.7463, allocations: 0.7076 MB / 0.8792 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.7464, allocations: 37.64 kB / 0.8792 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.7469, allocations: 0.5464 MB / 0.8797 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.7469, allocations: 91.22 kB / 0.8798 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7471, allocations: 98.12 kB / 0.8799 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.7473, allocations: 374.8 kB / 0.8803 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.7476, allocations: 128.9 kB / 0.8804 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/0.7483, allocations: 0.7301 MB / 0.8811 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.749, allocations: 471.5 kB / 0.8816 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/0.749, allocations: 4 kB / 0.8816 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009374/0.7499, allocations: 0.5162 MB / 0.8821 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.75, allocations: 11.94 kB / 0.8821 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.75, allocations: 8 kB / 0.8821 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.75, allocations: 8.688 kB / 0.8821 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.7504, allocations: 87.89 kB / 0.8822 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.7504, allocations: 11.94 kB / 0.8822 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.7509, allocations: 55.66 kB / 0.8822 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.7509, allocations: 24 kB / 0.8823 GB, free: 5.352 MB / 0.7169 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.0005018/0.7514, allocations: 290.6 kB / 0.8825 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.7516, allocations: 72.34 kB / 0.8826 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007348/0.7523, allocations: 403.5 kB / 0.883 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7523, allocations: 7.938 kB / 0.883 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7523, allocations: 0 / 0.883 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.7523, allocations: 3.938 kB / 0.883 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.7544, allocations: 1.34 MB / 0.8843 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.7544, allocations: 4.062 kB / 0.8843 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.7546, allocations: 43.92 kB / 0.8844 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.7546, allocations: 8 kB / 0.8844 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.7546, allocations: 8 kB / 0.8844 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.7547, allocations: 15.92 kB / 0.8844 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7547, allocations: 4 kB / 0.8844 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.7553, allocations: 0.5415 MB / 0.8849 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.7555, allocations: 111.4 kB / 0.885 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.7556, allocations: 7.984 kB / 0.885 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.7559, allocations: 12 kB / 0.8851 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.756, allocations: 35.78 kB / 0.8851 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.756, allocations: 12 kB / 0.8851 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006855/0.7567, allocations: 0.4951 MB / 0.8856 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7567, allocations: 0 / 0.8856 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001071/0.7577, allocations: 322.9 kB / 0.8859 GB, free: 1.461 MB / 0.7169 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.0005973/0.7583, allocations: 313.6 kB / 0.8862 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006424/0.759, allocations: 331.4 kB / 0.8865 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.759, allocations: 5.375 kB / 0.8865 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.7592, allocations: 136.6 kB / 0.8866 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.7606, allocations: 270.2 kB / 0.8869 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.7632, allocations: 1.536 MB / 0.8884 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.7638, allocations: 495.6 kB / 0.8889 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004721/0.7642, allocations: 140.6 kB / 0.889 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7644, allocations: 52.5 kB / 0.8891 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.7644, allocations: 0 / 0.8891 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.02338/0.7878, allocations: 11.84 MB / 0.9006 GB, free: 2.602 MB / 0.7325 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9247923493385315] Failed to read output from testmodel.py, exit status != 0: 0.7974570393562317 0.812059724 0.078147467 Calling exit ...