Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.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.0008202/0.0008202, 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.000892/0.000892, allocations: 170.3 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.8628/0.8628, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02854/0.02854, allocations: 7.506 MB / 266.7 MB, free: 6.215 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_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 391.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.128e-05, allocations: 2.281 kB / 391.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01301/0.01303, allocations: 15.73 MB / 407.5 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.142/0.1551, allocations: 12.57 MB / 420 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.1551, allocations: 0 / 420 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.1559, allocations: 342 kB / 420.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.1587, allocations: 1.603 MB / 422 MB, free: 14.69 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009587/0.1683, allocations: 5.118 MB / 427.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1685, allocations: 150.3 kB / 427.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.1685, allocations: 5.594 kB / 427.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1686, allocations: 89.44 kB / 427.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.1687, allocations: 33.42 kB / 427.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1687, allocations: 2.75 kB / 427.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008224/0.1769, allocations: 7.115 MB / 434.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.177, allocations: 12 kB / 434.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.177, allocations: 41.83 kB / 434.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.1816, allocations: 3.639 MB / 438.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1816, allocations: 0 / 438.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1816, allocations: 0 / 438.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1816, allocations: 0 / 438.2 MB, free: 9.926 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001139/0.1827, allocations: 0.7798 MB / 438.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1828, allocations: 10.81 kB / 438.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.1828, allocations: 49.52 kB / 439 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.1829, allocations: 24.73 kB / 439 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.973e-05/0.1829, allocations: 122.2 kB / 439.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1829, allocations: 2.25 kB / 439.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.1829, allocations: 2.344 kB / 439.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1831, allocations: 236.1 kB / 439.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1831, allocations: 1.594 kB / 439.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1831, allocations: 0 / 439.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1831, allocations: 10.05 kB / 439.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1834, allocations: 436.3 kB / 439.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1835, allocations: 292 kB / 440.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.1837, allocations: 185.3 kB / 440.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.1837, allocations: 184.1 kB / 440.5 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005461/0.1892, allocations: 2.797 MB / 443.3 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1892, allocations: 46.44 kB / 443.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.1892, allocations: 0 / 443.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004106/0.1896, allocations: 0.6042 MB / 443.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.1897, allocations: 55.34 kB / 444 MB, free: 6.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.617e-05/0.1897, allocations: 101.8 kB / 444.1 MB, free: 6.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.1897, allocations: 25.7 kB / 444.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-06/0.1897, allocations: 80.8 kB / 444.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1898, allocations: 138.4 kB / 444.3 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1898, allocations: 37.69 kB / 444.3 MB, free: 5.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.886e-05/0.1898, allocations: 330.9 kB / 444.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.1899, allocations: 179.9 kB / 444.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.19, allocations: 171.9 kB / 445 MB, free: 5.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1902, allocations: 392.5 kB / 445.4 MB, free: 4.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1902, allocations: 0 / 445.4 MB, free: 4.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002303/0.1904, allocations: 435.9 kB / 445.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1904, allocations: 6.5 kB / 445.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1904, allocations: 0 / 445.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1904, allocations: 0 / 445.8 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.1905, allocations: 23.92 kB / 445.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1905, allocations: 3.938 kB / 445.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.1905, allocations: 23.83 kB / 445.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.1906, allocations: 4 kB / 445.9 MB, free: 4.195 MB / 330.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 (13): * Single equations (assignments): 11 * 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 4.714e-05/0.1906, allocations: 122.9 kB / 446 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.1906, allocations: 11.91 kB / 446 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.1909, allocations: 0.6353 MB / 446.6 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.191, allocations: 2.375 kB / 446.6 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.191, allocations: 7.922 kB / 446.6 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.191, allocations: 0 / 446.6 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1914, allocations: 0.8908 MB / 447.5 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1914, allocations: 4 kB / 447.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.1915, allocations: 19.98 kB / 447.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1915, allocations: 4 kB / 447.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1915, allocations: 4 kB / 447.6 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1915, allocations: 7.984 kB / 447.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1915, allocations: 3.938 kB / 447.6 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.1916, allocations: 281.7 kB / 447.9 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.1916, allocations: 11.89 kB / 447.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1916, allocations: 15.89 kB / 447.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.1917, allocations: 4 kB / 447.9 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.1917, allocations: 19.92 kB / 447.9 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1917, allocations: 4 kB / 447.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.582e-05/0.1918, allocations: 171.8 kB / 448.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1918, allocations: 0 / 448.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001427/0.1932, allocations: 0.8059 MB / 448.9 MB, free: 0.957 MB / 330.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 (11): * Single equations (assignments): 11 * 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.002621/0.1958, allocations: 2.181 MB / 451.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1961, allocations: 262.9 kB / 451.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1961, allocations: 0 / 451.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.373e-05/0.1961, allocations: 88.45 kB / 451.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1965, allocations: 79.59 kB / 451.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1985, allocations: 2.896 MB / 454.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.005e-05/0.1986, allocations: 95.53 kB / 454.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.406e-05/0.1986, allocations: 28.45 kB / 454.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.1987, allocations: 40.48 kB / 454.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1987, allocations: 0 / 454.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.2424, allocations: 30.56 MB / 485.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.708, allocations: 10.7 kB / 485.1 MB, free: 12.87 MB / 378.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.333534670993686] Failed to read output from testmodel.py, exit status != 0: 7.803750514984131 7.814279495 7.62999216 Calling exit ...