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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 192.5 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.159/1.159, allocations: 177.9 MB / 484.2 MB, free: 5.367 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002023/0.002023, allocations: 64.66 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7407, allocations: 95.17 MB / 0.7669 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3391/1.08, allocations: 251 MB / 1.012 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03046/1.11, allocations: 22.6 MB / 1.034 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/1.112, allocations: 79.25 kB / 1.034 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00319/1.116, allocations: 0.9977 MB / 1.035 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/1.121, allocations: 1.527 MB / 1.037 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005858/1.126, allocations: 2.065 MB / 1.039 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004828/1.131, allocations: 2.694 MB / 1.041 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/1.133, allocations: 0.9696 MB / 1.042 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/1.138, allocations: 1.619 MB / 1.044 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/1.139, allocations: 0.9455 MB / 1.045 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/1.14, allocations: 108 kB / 1.045 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/1.144, allocations: 1.781 MB / 1.047 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/1.145, allocations: 394.7 kB / 1.047 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/1.146, allocations: 0.6338 MB / 1.048 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005246/1.152, allocations: 2.293 MB / 1.05 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/1.152, allocations: 0 / 1.05 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.933e-06/1.152, allocations: 0 / 1.05 GB, free: 500 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.288e-05/1.152, allocations: 4 kB / 1.05 GB, free: 496 kB / 0.8262 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.002804/1.154, allocations: 1.434 MB / 1.051 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.154, allocations: 12.03 kB / 1.051 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.156, allocations: 231 kB / 1.051 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/1.158, allocations: 0.8402 MB / 1.052 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/1.158, allocations: 192.7 kB / 1.052 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/1.158, allocations: 92 kB / 1.053 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.16, allocations: 0.9324 MB / 1.053 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/1.16, allocations: 0 / 1.053 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/1.16, allocations: 36 kB / 1.054 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.16, allocations: 24 kB / 1.054 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/1.162, allocations: 0.6285 MB / 1.054 GB, free: 11.96 MB / 0.8419 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.008249/1.17, allocations: 4.371 MB / 1.058 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/1.171, allocations: 178.8 kB / 1.059 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/1.171, allocations: 140.7 kB / 1.059 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008647/1.172, allocations: 127.9 kB / 1.059 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/1.172, allocations: 34.56 kB / 1.059 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=24): time 3.126e-06/1.172, allocations: 0 / 1.059 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.001764/1.174, allocations: 473.8 kB / 1.059 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.174, allocations: 59.39 kB / 1.059 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/1.176, allocations: 1.11 MB / 1.06 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/1.176, allocations: 33.7 kB / 1.06 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/1.177, allocations: 0.5087 MB / 1.061 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/1.177, allocations: 91.22 kB / 1.061 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.177, allocations: 102.1 kB / 1.061 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003133/1.178, allocations: 322 kB / 1.061 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/1.178, allocations: 128.8 kB / 1.062 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/1.179, allocations: 387.1 kB / 1.062 GB, free: 3.352 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.18, allocations: 463.6 kB / 1.062 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.18, allocations: 7.938 kB / 1.062 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001692/1.182, allocations: 0.5473 MB / 1.063 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.182, allocations: 11.94 kB / 1.063 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.182, allocations: 12 kB / 1.063 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.182, allocations: 8 kB / 1.063 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/1.182, allocations: 87.89 kB / 1.063 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.807e-05/1.182, allocations: 15.92 kB / 1.063 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.184, allocations: 103.7 kB / 1.063 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/1.184, allocations: 27.98 kB / 1.063 GB, free: 1.988 MB / 0.8419 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.000809/1.185, allocations: 281.6 kB / 1.063 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/1.185, allocations: 107.3 kB / 1.064 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.186, allocations: 430 kB / 1.064 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.186, allocations: 8 kB / 1.064 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.186, allocations: 3.938 kB / 1.064 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.186, allocations: 3.984 kB / 1.064 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/1.19, allocations: 1.526 MB / 1.066 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/1.19, allocations: 7.984 kB / 1.066 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/1.19, allocations: 39.92 kB / 1.066 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/1.19, allocations: 8 kB / 1.066 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/1.19, allocations: 8 kB / 1.066 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/1.19, allocations: 11.94 kB / 1.066 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.19, allocations: 4 kB / 1.066 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.191, allocations: 0.5823 MB / 1.066 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006161/1.192, allocations: 163.2 kB / 1.066 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/1.192, allocations: 11.98 kB / 1.066 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/1.193, allocations: 15.98 kB / 1.066 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/1.193, allocations: 32.12 kB / 1.066 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/1.193, allocations: 16 kB / 1.066 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002009/1.195, allocations: 0.7822 MB / 1.067 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.195, allocations: 0 / 1.067 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001651/1.197, allocations: 283.4 kB / 1.067 GB, free: 13.49 MB / 0.8575 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.001146/1.198, allocations: 331.3 kB / 1.068 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001136/1.199, allocations: 330.9 kB / 1.068 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.199, allocations: 1.375 kB / 1.068 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/1.2, allocations: 148.2 kB / 1.068 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/1.204, allocations: 0.5127 MB / 1.069 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/1.208, allocations: 1.608 MB / 1.07 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.21, allocations: 1.059 MB / 1.071 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001096/1.211, allocations: 201.3 kB / 1.071 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/1.211, allocations: 67.38 kB / 1.072 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of SimCode: time 6.82e-07/1.211, allocations: 0 / 1.072 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of Templates: time 0.0415/1.252, allocations: 18.94 MB / 1.09 GB, free: 6.453 MB / 0.8731 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: 8.317332142964005] Failed to read output from testmodel.py, exit status != 0: 1.2633689530193806 1.69853507 0.543669681 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f986b32d7b0>