Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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.0008256/0.0008256, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008905/0.0008905, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8813/0.8813, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02896/0.02896, allocations: 7.514 MB / 266.7 MB, free: 6.191 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.573e-05, allocations: 9.172 kB / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01219/0.01221, allocations: 15.68 MB / 407.4 MB, free: 6.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009121/0.02133, allocations: 13.72 MB / 421.1 MB, free: 8.852 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.02139, allocations: 0 / 421.1 MB, free: 8.852 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.02211, allocations: 351.3 kB / 421.5 MB, free: 8.508 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.02404, allocations: 1.328 MB / 422.8 MB, free: 7.176 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.03097, allocations: 4.746 MB / 427.6 MB, free: 2.414 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.03113, allocations: 151.1 kB / 427.7 MB, free: 2.266 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.03117, allocations: 9.25 kB / 427.7 MB, free: 2.254 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.03128, allocations: 91.72 kB / 427.8 MB, free: 2.164 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.03134, allocations: 39.84 kB / 427.8 MB, free: 2.125 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.03135, allocations: 0 / 427.8 MB, free: 2.125 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006192/0.03754, allocations: 5.947 MB / 433.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.03756, allocations: 15.92 kB / 433.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.03761, allocations: 35.92 kB / 433.8 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.04135, allocations: 3.436 MB / 437.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.04135, allocations: 0 / 437.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04135, allocations: 0 / 437.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.04136, allocations: 0 / 437.3 MB, free: 8.668 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008417/0.0422, allocations: 0.74 MB / 438 MB, free: 7.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.04224, allocations: 16.56 kB / 438 MB, free: 7.879 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.04227, allocations: 46.55 kB / 438.1 MB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.04251, allocations: 55.88 kB / 438.1 MB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.04259, allocations: 128.9 kB / 438.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.04262, allocations: 8 kB / 438.3 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.04263, allocations: 4 kB / 438.3 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.04288, allocations: 272.9 kB / 438.5 MB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.04289, allocations: 0 / 438.5 MB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.0429, allocations: 4 kB / 438.5 MB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.04291, allocations: 7.984 kB / 438.5 MB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.04324, allocations: 467.8 kB / 439 MB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.04347, allocations: 297.8 kB / 439.3 MB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.04367, allocations: 234.4 kB / 439.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.04381, allocations: 209.5 kB / 439.7 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00643/0.05024, allocations: 3.087 MB / 442.8 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.05026, allocations: 34.56 kB / 442.8 MB, free: 2.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.395e-06/0.05026, allocations: 3.984 kB / 442.9 MB, free: 2.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006056/0.05087, allocations: 0.7038 MB / 443.6 MB, free: 2.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.0509, allocations: 59.34 kB / 443.6 MB, free: 2.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.044e-05/0.05095, allocations: 97.86 kB / 443.7 MB, free: 2.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.05096, allocations: 25.7 kB / 443.7 MB, free: 2.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.05098, allocations: 80.8 kB / 443.8 MB, free: 1.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.05106, allocations: 142.7 kB / 444 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.0511, allocations: 45.69 kB / 444 MB, free: 1.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.05118, allocations: 330.8 kB / 444.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.05131, allocations: 195.9 kB / 444.5 MB, free: 1.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.05145, allocations: 199.9 kB / 444.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.05176, allocations: 481.2 kB / 445.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.05176, allocations: 0 / 445.2 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003666/0.05213, allocations: 0.5007 MB / 445.7 MB, free: 60 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.05214, allocations: 11.92 kB / 445.7 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.05215, allocations: 3.938 kB / 445.7 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.05216, allocations: 4 kB / 445.7 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.05224, allocations: 23.98 kB / 445.7 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.05225, allocations: 0 / 445.7 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1325/0.1847, allocations: 19.09 kB / 445.7 MB, free: 92.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.1847, allocations: 11.77 kB / 445.8 MB, free: 92.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 8.92e-05/0.1848, allocations: 121.1 kB / 445.9 MB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.1849, allocations: 11.77 kB / 445.9 MB, free: 92.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.1854, allocations: 0.6977 MB / 446.6 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1854, allocations: 0 / 446.6 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1854, allocations: 0 / 446.6 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1854, allocations: 0 / 446.6 MB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.1859, allocations: 0.8963 MB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.186, allocations: 6.578 kB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.186, allocations: 32.3 kB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.186, allocations: 3.031 kB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.186, allocations: 14.3 kB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.186, allocations: 5.688 kB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.186, allocations: 3.094 kB / 447.5 MB, free: 91.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1862, allocations: 382.7 kB / 447.9 MB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.1862, allocations: 12.22 kB / 447.9 MB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1863, allocations: 17.69 kB / 447.9 MB, free: 91.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1863, allocations: 14.48 kB / 448 MB, free: 91.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.1863, allocations: 18.08 kB / 448 MB, free: 91.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.1864, allocations: 14.44 kB / 448 MB, free: 91.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.1864, allocations: 169.9 kB / 448.2 MB, free: 91.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1864, allocations: 0 / 448.2 MB, free: 91.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001232/0.1877, allocations: 0.7573 MB / 448.9 MB, free: 91.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.001926/0.1896, allocations: 2.133 MB / 451 MB, free: 90.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1898, allocations: 307 kB / 451.3 MB, free: 90.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1899, allocations: 6.969 kB / 451.3 MB, free: 90.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.1899, allocations: 95.95 kB / 451.4 MB, free: 90.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1903, allocations: 78.67 kB / 451.5 MB, free: 90.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.192, allocations: 3.156 MB / 454.7 MB, free: 88.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.1921, allocations: 96.59 kB / 454.8 MB, free: 88.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.1923, allocations: 288.6 kB / 455.1 MB, free: 88.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.1923, allocations: 41.55 kB / 455.1 MB, free: 88.01 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1923, allocations: 0 / 455.1 MB, free: 88.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.2233, allocations: 29.52 MB / 484.6 MB, free: 81.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.069/7.292, allocations: 4.969 kB / 484.6 MB, free: 81.06 MB / 410.7 MB " [Timeout remaining time 653] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.949348363094032] Failed to read output from testmodel.py, exit status != 0: 7.384430983103812 7.391416013 7.348596253 Calling exit ...