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.00143/0.00143, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001615/0.001615, allocations: 215.7 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04843/0.04843, allocations: 9.155 MB / 295.2 MB, free: 12.79 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 70.64 kB / 411.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0676/0.06962, allocations: 50.76 MB / 462.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01953/0.08914, allocations: 17.36 MB / 480 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.1042, allocations: 15.57 MB / 495.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.249e-05/0.1043, allocations: 0 / 495.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.1053, allocations: 427.4 kB / 496 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.1081, allocations: 1.348 MB / 497.3 MB, free: 9.918 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.1194, allocations: 4.724 MB / 0.4903 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1197, allocations: 155.1 kB / 0.4904 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.1197, allocations: 9.312 kB / 0.4904 GB, free: 5.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1199, allocations: 63.72 kB / 0.4905 GB, free: 4.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.12, allocations: 59.64 kB / 0.4905 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.12, allocations: 3.938 kB / 0.4906 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.1348, allocations: 9.042 MB / 0.4994 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.1349, allocations: 19.91 kB / 0.4994 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.135, allocations: 51.69 kB / 0.4994 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008209/0.1432, allocations: 3.515 MB / 0.5029 GB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1432, allocations: 0 / 0.5029 GB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1432, allocations: 0 / 0.5029 GB, free: 8.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1432, allocations: 0 / 0.5029 GB, free: 8.246 MB / 382.1 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.001368/0.1446, allocations: 0.7362 MB / 0.5036 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1446, allocations: 15.98 kB / 0.5036 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.019e-05/0.1446, allocations: 8 kB / 0.5036 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1447, allocations: 50.55 kB / 0.5037 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.145, allocations: 63.83 kB / 0.5037 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1452, allocations: 121 kB / 0.5038 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1452, allocations: 4 kB / 0.5039 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1452, allocations: 8 kB / 0.5039 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.1456, allocations: 269.5 kB / 0.5041 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1456, allocations: 0 / 0.5041 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1456, allocations: 4 kB / 0.5041 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1456, allocations: 11.98 kB / 0.5041 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.1462, allocations: 467.5 kB / 0.5046 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1465, allocations: 317.7 kB / 0.5049 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1468, allocations: 230.5 kB / 0.5051 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.1471, allocations: 208.8 kB / 0.5053 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/0.1597, allocations: 3.071 MB / 0.5083 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.1598, allocations: 42.5 kB / 0.5083 GB, free: 2.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.834e-06/0.1598, allocations: 0 / 0.5083 GB, free: 2.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009742/0.1607, allocations: 0.7008 MB / 0.509 GB, free: 1.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1608, allocations: 59.34 kB / 0.5091 GB, free: 1.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.1609, allocations: 101.8 kB / 0.5092 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1609, allocations: 25.7 kB / 0.5092 GB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.1609, allocations: 84.8 kB / 0.5093 GB, free: 1.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.161, allocations: 142.8 kB / 0.5094 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.18e-05/0.1611, allocations: 49.69 kB / 0.5095 GB, free: 1.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1612, allocations: 326.8 kB / 0.5098 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1615, allocations: 195.9 kB / 0.51 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1617, allocations: 199.9 kB / 0.5102 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.1622, allocations: 473.2 kB / 0.5106 GB, free: 140 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1622, allocations: 0 / 0.5106 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006232/0.1628, allocations: 0.5163 MB / 0.5111 GB, free: 15.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1628, allocations: 4 kB / 0.5111 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1629, allocations: 0 / 0.5111 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1629, allocations: 3.938 kB / 0.5111 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.163, allocations: 27.92 kB / 0.5111 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.163, allocations: 3.938 kB / 0.5111 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.1631, allocations: 19.83 kB / 0.5112 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1631, allocations: 7.984 kB / 0.5112 GB, free: 15.55 MB / 398.1 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 0.0001008/0.1632, allocations: 117.8 kB / 0.5113 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1632, allocations: 15.91 kB / 0.5113 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008261/0.1641, allocations: 0.6907 MB / 0.512 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1641, allocations: 0 / 0.512 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1641, allocations: 3.938 kB / 0.512 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1641, allocations: 4 kB / 0.512 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.1652, allocations: 0.9115 MB / 0.5129 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1652, allocations: 0 / 0.5129 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1653, allocations: 32.25 kB / 0.5129 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1653, allocations: 8 kB / 0.5129 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.1653, allocations: 15.98 kB / 0.5129 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.1653, allocations: 11.92 kB / 0.5129 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1654, allocations: 4 kB / 0.5129 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.1658, allocations: 383.8 kB / 0.5133 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.1658, allocations: 7.938 kB / 0.5133 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1659, allocations: 23.84 kB / 0.5133 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.166, allocations: 11.98 kB / 0.5134 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.166, allocations: 15.92 kB / 0.5134 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.166, allocations: 8 kB / 0.5134 GB, free: 13.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1662, allocations: 179.1 kB / 0.5135 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1662, allocations: 0 / 0.5135 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001853/0.1681, allocations: 0.7516 MB / 0.5143 GB, free: 12.13 MB / 398.1 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.003817/0.1719, allocations: 2.032 MB / 0.5163 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005537/0.1724, allocations: 307.8 kB / 0.5166 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1724, allocations: 0 / 0.5166 GB, free: 9.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1726, allocations: 103.8 kB / 0.5167 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.1732, allocations: 80.47 kB / 0.5167 GB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.1772, allocations: 3.182 MB / 0.5198 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1775, allocations: 0.7084 MB / 0.5205 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000394/0.1779, allocations: 287.9 kB / 0.5208 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.178, allocations: 47.41 kB / 0.5209 GB, free: 5.164 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.178, allocations: 0 / 0.5209 GB, free: 5.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2141/0.392, allocations: 28.48 MB / 0.5487 GB, free: 58.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 11.02 kB / 0.5487 GB, free: 58.88 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.186342790024355] Failed to read output from testmodel.py, exit status != 0: 11.985591219970956 11.994954176 11.849488753 Calling exit ...