Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.0009502/0.0009502, allocations: 87.69 kB / 20.67 MB, free: 3.883 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.001255/0.001255, allocations: 165.3 kB / 23.95 MB, free: 0.6055 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.9493/0.9493, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2678/0.2678, allocations: 32.8 MB / 293.5 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.082e-05, allocations: 6.781 kB / 439.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.311/0.3111, allocations: 132 MB / 0.5582 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004157/0.3152, allocations: 4.62 MB / 0.5628 GB, free: 11.97 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3154, allocations: 4 kB / 0.5628 GB, free: 11.96 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.3157, allocations: 47.62 kB / 0.5628 GB, free: 11.92 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3187, allocations: 1.254 MB / 0.564 GB, free: 10.66 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.319, allocations: 146.7 kB / 0.5642 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.3195, allocations: 407.9 kB / 0.5646 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.3196, allocations: 20.64 kB / 0.5646 GB, free: 10.11 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.3199, allocations: 223.4 kB / 0.5648 GB, free: 9.891 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.3202, allocations: 155.7 kB / 0.5649 GB, free: 9.738 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.3202, allocations: 12 kB / 0.5649 GB, free: 9.727 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3218, allocations: 0.9397 MB / 0.5659 GB, free: 8.785 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.3219, allocations: 51.83 kB / 0.5659 GB, free: 8.734 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.3219, allocations: 83.75 kB / 0.566 GB, free: 8.652 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.3236, allocations: 0.9508 MB / 0.5669 GB, free: 7.699 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3236, allocations: 0 / 0.5669 GB, free: 7.699 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3236, allocations: 0 / 0.5669 GB, free: 7.699 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3236, allocations: 0 / 0.5669 GB, free: 7.699 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001098/0.3247, allocations: 0.6144 MB / 0.5675 GB, free: 7.059 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3248, allocations: 16.03 kB / 0.5675 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.3248, allocations: 63.84 kB / 0.5676 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.3283, allocations: 0.6347 MB / 0.5682 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.3288, allocations: 209.6 kB / 0.5684 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.3289, allocations: 230.1 kB / 0.5686 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.329, allocations: 20 kB / 0.5687 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.3299, allocations: 0.7384 MB / 0.5694 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3299, allocations: 4 kB / 0.5694 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.3299, allocations: 12 kB / 0.5694 GB, free: 4.988 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.3299, allocations: 8 kB / 0.5694 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/0.3308, allocations: 0.6145 MB / 0.57 GB, free: 4.367 MB / 474.7 MB 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.001492/0.3323, allocations: 1.436 MB / 0.5714 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.3326, allocations: 156.9 kB / 0.5716 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.3327, allocations: 72.86 kB / 0.5716 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.3331, allocations: 364.1 kB / 0.572 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3331, allocations: 42.5 kB / 0.572 GB, free: 2.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 2.224e-06/0.3331, allocations: 0 / 0.572 GB, free: 2.191 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.0007498/0.3339, allocations: 310.5 kB / 0.5723 GB, free: 1.887 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.3339, allocations: 59.34 kB / 0.5724 GB, free: 1.816 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3341, allocations: 211 kB / 0.5726 GB, free: 1.602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3341, allocations: 29.7 kB / 0.5726 GB, free: 1.566 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.3342, allocations: 195.7 kB / 0.5728 GB, free: 1.371 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3342, allocations: 59.48 kB / 0.5728 GB, free: 1.312 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.3343, allocations: 102 kB / 0.5729 GB, free: 1.207 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.3344, allocations: 322.8 kB / 0.5732 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.3345, allocations: 72.64 kB / 0.5733 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.3347, allocations: 265.1 kB / 0.5736 GB, free: 472 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.3351, allocations: 363 kB / 0.5739 GB, free: 12 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3351, allocations: 0 / 0.5739 GB, free: 12 kB / 474.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000421/0.3355, allocations: 374.5 kB / 0.5743 GB, free: 15.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3356, allocations: 16.14 kB / 0.5743 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3356, allocations: 4 kB / 0.5743 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3356, allocations: 12 kB / 0.5743 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.3358, allocations: 123.8 kB / 0.5744 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002864/0.3361, allocations: 0.6087 MB / 0.575 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3363, allocations: 47.61 kB / 0.5751 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.3363, allocations: 44 kB / 0.5751 GB, free: 14.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.3365, allocations: 141.7 kB / 0.5752 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.3365, allocations: 23.94 kB / 0.5753 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/0.3371, allocations: 434.1 kB / 0.5757 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3371, allocations: 7.938 kB / 0.5757 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3371, allocations: 4 kB / 0.5757 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3371, allocations: 0 / 0.5757 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.3377, allocations: 0.5153 MB / 0.5762 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3377, allocations: 4 kB / 0.5762 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3378, allocations: 59.89 kB / 0.5762 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3378, allocations: 0 / 0.5762 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3378, allocations: 12 kB / 0.5763 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002122/0.338, allocations: 0.5979 MB / 0.5768 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.338, allocations: 3.938 kB / 0.5768 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3382, allocations: 293.3 kB / 0.5771 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.3383, allocations: 35.77 kB / 0.5772 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3383, allocations: 1.375 kB / 0.5772 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3385, allocations: 15.98 kB / 0.5772 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3385, allocations: 19.91 kB / 0.5772 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.3385, allocations: 20.09 kB / 0.5772 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.3386, allocations: 136.2 kB / 0.5773 GB, free: 12.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3386, allocations: 0 / 0.5773 GB, free: 12.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000506/0.3391, allocations: 151.7 kB / 0.5775 GB, free: 12.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007678/0.3399, allocations: 0.973 MB / 0.5784 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.3402, allocations: 227.3 kB / 0.5787 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3402, allocations: 0 / 0.5787 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3404, allocations: 75.84 kB / 0.5787 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3407, allocations: 68.64 kB / 0.5788 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.3435, allocations: 2.825 MB / 0.5815 GB, free: 7.691 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.96e-05/0.3435, allocations: 116.5 kB / 0.5817 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/0.344, allocations: 390.1 kB / 0.582 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3442, allocations: 96.44 kB / 0.5821 GB, free: 7.078 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3442, allocations: 0 / 0.5821 GB, free: 7.078 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3663, allocations: 8.255 MB / 0.5902 GB, free: 15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.102, allocations: 7.812 kB / 0.5902 GB, free: 15 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.11654668673873] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 8.192720375955105 8.204763053 7.878621296 Calling exit ...