Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007003/0.0007003, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0007993/0.0007993, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9183/0.9183, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.525e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3058/0.3058, allocations: 132 MB / 0.5608 GB, free: 12.63 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.3101, allocations: 4.613 MB / 0.5653 GB, free: 8.008 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3102, allocations: 4 kB / 0.5653 GB, free: 8.004 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3104, allocations: 51.61 kB / 0.5653 GB, free: 7.953 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.3128, allocations: 1.25 MB / 0.5665 GB, free: 6.699 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.3131, allocations: 156.8 kB / 0.5667 GB, free: 6.555 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.3136, allocations: 397.9 kB / 0.5671 GB, free: 6.164 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.3137, allocations: 12.72 kB / 0.5671 GB, free: 6.156 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.314, allocations: 235.3 kB / 0.5673 GB, free: 5.926 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3143, allocations: 151.7 kB / 0.5675 GB, free: 5.777 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3143, allocations: 8 kB / 0.5675 GB, free: 5.77 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3158, allocations: 0.9396 MB / 0.5684 GB, free: 4.828 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.3159, allocations: 55.81 kB / 0.5684 GB, free: 4.773 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.316, allocations: 83.77 kB / 0.5685 GB, free: 4.691 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.317, allocations: 0.9469 MB / 0.5694 GB, free: 3.742 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.317, allocations: 0 / 0.5694 GB, free: 3.742 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.317, allocations: 0 / 0.5694 GB, free: 3.742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.317, allocations: 0 / 0.5694 GB, free: 3.742 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.0009185/0.3179, allocations: 0.6183 MB / 0.57 GB, free: 3.098 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3179, allocations: 16.03 kB / 0.5701 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.318, allocations: 58.73 kB / 0.5701 GB, free: 3.016 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.3215, allocations: 0.6398 MB / 0.5707 GB, free: 2.383 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.3219, allocations: 209.5 kB / 0.5709 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.322, allocations: 230 kB / 0.5712 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.3221, allocations: 20 kB / 0.5712 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.323, allocations: 0.7423 MB / 0.5719 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.323, allocations: 0 / 0.5719 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.3231, allocations: 12 kB / 0.5719 GB, free: 1.031 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.3231, allocations: 8 kB / 0.5719 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.3239, allocations: 0.6223 MB / 0.5725 GB, free: 412 kB / 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.001261/0.3252, allocations: 1.44 MB / 0.5739 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.3254, allocations: 154.5 kB / 0.5741 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.3255, allocations: 70.77 kB / 0.5742 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.3259, allocations: 364.1 kB / 0.5745 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3259, allocations: 38.56 kB / 0.5745 GB, free: 14.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3259, allocations: 0 / 0.5745 GB, free: 14.23 MB / 490.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.0006251/0.3265, allocations: 329.8 kB / 0.5748 GB, free: 13.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.3265, allocations: 55.34 kB / 0.5749 GB, free: 13.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3267, allocations: 199 kB / 0.5751 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3267, allocations: 29.7 kB / 0.5751 GB, free: 13.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.3267, allocations: 199.7 kB / 0.5753 GB, free: 13.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3268, allocations: 63.48 kB / 0.5754 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.3269, allocations: 97.95 kB / 0.5755 GB, free: 13.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.3269, allocations: 322.8 kB / 0.5758 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.327, allocations: 68.7 kB / 0.5758 GB, free: 12.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3272, allocations: 265.1 kB / 0.5761 GB, free: 12.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3275, allocations: 366.2 kB / 0.5764 GB, free: 12.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3275, allocations: 0 / 0.5764 GB, free: 12.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003776/0.3279, allocations: 375.4 kB / 0.5768 GB, free: 11.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3279, allocations: 12.16 kB / 0.5768 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3279, allocations: 4 kB / 0.5768 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3279, allocations: 12 kB / 0.5768 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3281, allocations: 131.7 kB / 0.577 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002499/0.3284, allocations: 0.6016 MB / 0.5775 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3285, allocations: 39.72 kB / 0.5776 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.3285, allocations: 44 kB / 0.5776 GB, free: 10.81 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.0001019/0.3286, allocations: 141.7 kB / 0.5778 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.3287, allocations: 23.94 kB / 0.5778 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.3292, allocations: 432.9 kB / 0.5782 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3292, allocations: 4 kB / 0.5782 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3292, allocations: 5.312 kB / 0.5782 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3292, allocations: 7.922 kB / 0.5782 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.3298, allocations: 0.5075 MB / 0.5787 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3298, allocations: 4 kB / 0.5787 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3299, allocations: 59.95 kB / 0.5788 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.33, allocations: 0 / 0.5788 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.33, allocations: 8.219 kB / 0.5788 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002435/0.3302, allocations: 0.6015 MB / 0.5794 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3302, allocations: 4 kB / 0.5794 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.3304, allocations: 297.9 kB / 0.5796 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.3305, allocations: 39.75 kB / 0.5797 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3305, allocations: 4 kB / 0.5797 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3306, allocations: 11.98 kB / 0.5797 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3307, allocations: 15.98 kB / 0.5797 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3307, allocations: 24.08 kB / 0.5797 GB, free: 8.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.209e-05/0.3308, allocations: 136.2 kB / 0.5799 GB, free: 8.367 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3308, allocations: 0 / 0.5799 GB, free: 8.367 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.3312, allocations: 151.7 kB / 0.58 GB, free: 8.219 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.0006503/0.3318, allocations: 0.9754 MB / 0.581 GB, free: 7.199 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.3322, allocations: 223.8 kB / 0.5812 GB, free: 6.984 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3322, allocations: 3.938 kB / 0.5812 GB, free: 6.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.3323, allocations: 81.39 kB / 0.5813 GB, free: 6.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3326, allocations: 56.09 kB / 0.5813 GB, free: 6.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.335, allocations: 2.829 MB / 0.5841 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.388e-05/0.335, allocations: 116.6 kB / 0.5842 GB, free: 3.582 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004229/0.3354, allocations: 390.1 kB / 0.5846 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3356, allocations: 100.4 kB / 0.5847 GB, free: 3.105 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3356, allocations: 4 kB / 0.5847 GB, free: 3.102 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.358, allocations: 8.246 MB / 0.5927 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.014, allocations: 14.62 kB / 0.5927 GB, free: 11.04 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.964580194093287] 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.107032896019518 8.114365688 7.795637989 Calling exit ...