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.000724/0.000724, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007263/0.0007263, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8676/0.8676, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.6795/0.6795, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 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.422e-06/1.422e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.688e-05, allocations: 10.22 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4399/0.44, allocations: 221.6 MB / 0.8357 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.4581, allocations: 20.46 MB / 0.8557 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.4597, allocations: 75.31 kB / 0.8558 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.4619, allocations: 1.005 MB / 0.8568 GB, free: 208 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.4649, allocations: 1.555 MB / 0.8583 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.4682, allocations: 2.062 MB / 0.8603 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003097/0.4713, allocations: 2.717 MB / 0.863 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.4725, allocations: 0.9611 MB / 0.8639 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.4751, allocations: 2.009 MB / 0.8659 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.4758, allocations: 0.8024 MB / 0.8666 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.4759, allocations: 108 kB / 0.8667 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.4779, allocations: 1.418 MB / 0.8681 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.4782, allocations: 404.7 kB / 0.8685 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.4785, allocations: 447 kB / 0.8689 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.4814, allocations: 2.337 MB / 0.8712 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4814, allocations: 0 / 0.8712 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4814, allocations: 3.938 kB / 0.8712 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.4814, allocations: 4 kB / 0.8712 GB, free: 1.328 MB / 0.7136 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.001431/0.4829, allocations: 1.422 MB / 0.8726 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4829, allocations: 9.469 kB / 0.8726 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006662/0.4836, allocations: 246.9 kB / 0.8729 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4846, allocations: 0.8558 MB / 0.8737 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.4848, allocations: 291.6 kB / 0.874 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.4849, allocations: 95.98 kB / 0.8741 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.4859, allocations: 0.9324 MB / 0.875 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.4859, allocations: 0 / 0.875 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.4859, allocations: 39.94 kB / 0.875 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.486, allocations: 20 kB / 0.875 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.4867, allocations: 0.6362 MB / 0.8757 GB, free: 12.64 MB / 0.7292 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.002588/0.4893, allocations: 2.611 MB / 0.8782 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.4895, allocations: 187.2 kB / 0.8784 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.4897, allocations: 136.8 kB / 0.8785 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.49, allocations: 127.9 kB / 0.8786 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.49, allocations: 38.55 kB / 0.8787 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.714e-06/0.49, allocations: 0 / 0.8787 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006249/0.4906, allocations: 447.7 kB / 0.8791 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.4906, allocations: 55.41 kB / 0.8792 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.4912, allocations: 0.7115 MB / 0.8798 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.4912, allocations: 33.7 kB / 0.8799 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.4915, allocations: 0.5425 MB / 0.8804 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.4915, allocations: 95.2 kB / 0.8805 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4916, allocations: 94.14 kB / 0.8806 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4917, allocations: 382.7 kB / 0.881 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4919, allocations: 128.9 kB / 0.8811 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.4923, allocations: 0.7301 MB / 0.8818 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.4926, allocations: 475.5 kB / 0.8822 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4926, allocations: 0 / 0.8822 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005258/0.4932, allocations: 0.5122 MB / 0.8827 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4932, allocations: 8.688 kB / 0.8828 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4932, allocations: 8 kB / 0.8828 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4932, allocations: 12 kB / 0.8828 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.4934, allocations: 95.39 kB / 0.8829 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4934, allocations: 11.94 kB / 0.8829 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.4937, allocations: 51.59 kB / 0.8829 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.4937, allocations: 24 kB / 0.8829 GB, free: 4.766 MB / 0.7292 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.000499/0.4942, allocations: 289.6 kB / 0.8832 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/0.4943, allocations: 79.52 kB / 0.8833 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.4947, allocations: 400.4 kB / 0.8837 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.4947, allocations: 3.984 kB / 0.8837 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4947, allocations: 4 kB / 0.8837 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4947, allocations: 3.938 kB / 0.8837 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4959, allocations: 1.34 MB / 0.885 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.4959, allocations: 4 kB / 0.885 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.496, allocations: 39.92 kB / 0.885 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.496, allocations: 4 kB / 0.885 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.496, allocations: 12 kB / 0.8851 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.496, allocations: 4.562 kB / 0.8851 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.496, allocations: 19.92 kB / 0.8851 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.4964, allocations: 0.5326 MB / 0.8856 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.4965, allocations: 111.4 kB / 0.8857 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.4966, allocations: 11.98 kB / 0.8857 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4967, allocations: 8 kB / 0.8857 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.4968, allocations: 32.12 kB / 0.8858 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.4968, allocations: 16 kB / 0.8858 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003992/0.4972, allocations: 499 kB / 0.8862 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.4972, allocations: 4 kB / 0.8863 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007175/0.4979, allocations: 322.9 kB / 0.8866 GB, free: 0.8867 MB / 0.7292 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.0004153/0.4983, allocations: 330 kB / 0.8869 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.4987, allocations: 335.4 kB / 0.8872 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4987, allocations: 0 / 0.8872 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4989, allocations: 140.1 kB / 0.8873 GB, free: 100 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.4996, allocations: 264.7 kB / 0.8876 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.5012, allocations: 1.59 MB / 0.8891 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.5015, allocations: 483.8 kB / 0.8896 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5016, allocations: 56.48 kB / 0.8896 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.5016, allocations: 0 / 0.8896 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.01269/0.5143, allocations: 14.37 MB / 0.9037 GB, free: 15.41 MB / 0.7605 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5110536031425] Failed to read output from testmodel.py, exit status != 0: 0.520300910808146 0.527534209 0.044473298 Calling exit ...