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.001253/0.001253, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001402/0.001402, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.362/1.362, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.05165/0.05165, allocations: 9.154 MB / 295.3 MB, free: 12.52 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.002929/0.002929, allocations: 82.69 kB / 411.8 MB, free: 46.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07453/0.07746, allocations: 50.75 MB / 462.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01952/0.09698, allocations: 15.65 MB / 478.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.1108, allocations: 13.71 MB / 491.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.1109, allocations: 0 / 491.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.1118, allocations: 335.6 kB / 492.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.1146, allocations: 1.356 MB / 493.6 MB, free: 13.38 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.01012/0.1247, allocations: 4.658 MB / 498.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1249, allocations: 143.2 kB / 498.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.125, allocations: 5.312 kB / 498.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1251, allocations: 79.64 kB / 498.5 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.1252, allocations: 47.73 kB / 498.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1252, allocations: 0 / 498.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.1355, allocations: 6.14 MB / 0.4929 GB, free: 2.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.1355, allocations: 19.91 kB / 0.4929 GB, free: 2.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.611e-05/0.1356, allocations: 43.75 kB / 0.4929 GB, free: 2.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.1417, allocations: 2.93 MB / 0.4958 GB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1417, allocations: 0 / 0.4958 GB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1417, allocations: 4 kB / 0.4958 GB, free: 15.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1417, allocations: 0 / 0.4958 GB, free: 15.28 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.001353/0.1431, allocations: 0.7401 MB / 0.4965 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1431, allocations: 11.98 kB / 0.4965 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.679e-05/0.1431, allocations: 8 kB / 0.4965 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1432, allocations: 50.48 kB / 0.4966 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.1436, allocations: 55.84 kB / 0.4966 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1437, allocations: 129 kB / 0.4968 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1437, allocations: 4 kB / 0.4968 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1437, allocations: 8 kB / 0.4968 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.1441, allocations: 265.6 kB / 0.497 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1441, allocations: 0 / 0.497 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1441, allocations: 4 kB / 0.497 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1442, allocations: 7.984 kB / 0.497 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.1447, allocations: 471.8 kB / 0.4975 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.1451, allocations: 313.3 kB / 0.4978 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.1454, allocations: 238.4 kB / 0.498 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.1457, allocations: 208.8 kB / 0.4982 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01355/0.1592, allocations: 3.083 MB / 0.5012 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1592, allocations: 30.56 kB / 0.5012 GB, free: 9.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.874e-06/0.1592, allocations: 0 / 0.5012 GB, free: 9.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009738/0.1602, allocations: 0.7008 MB / 0.5019 GB, free: 8.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1602, allocations: 59.34 kB / 0.502 GB, free: 8.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.1603, allocations: 105.8 kB / 0.5021 GB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1603, allocations: 25.83 kB / 0.5021 GB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.1604, allocations: 84.8 kB / 0.5022 GB, free: 8.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1605, allocations: 150.6 kB / 0.5023 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.1606, allocations: 41.69 kB / 0.5024 GB, free: 8.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1607, allocations: 330.8 kB / 0.5027 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1609, allocations: 199.9 kB / 0.5029 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1612, allocations: 195.9 kB / 0.5031 GB, free: 7.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.1617, allocations: 469.2 kB / 0.5035 GB, free: 7.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1617, allocations: 0 / 0.5035 GB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006265/0.1623, allocations: 0.5201 MB / 0.504 GB, free: 6.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1623, allocations: 6.656 kB / 0.504 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1623, allocations: 0 / 0.504 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1624, allocations: 0 / 0.504 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1625, allocations: 27.98 kB / 0.5041 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1625, allocations: 3.938 kB / 0.5041 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.1626, allocations: 15.83 kB / 0.5041 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.1626, allocations: 11.98 kB / 0.5041 GB, free: 6.578 MB / 382.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 9.808e-05/0.1627, allocations: 113.8 kB / 0.5042 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.1628, allocations: 11.91 kB / 0.5042 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.1636, allocations: 0.7101 MB / 0.5049 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1636, allocations: 0 / 0.5049 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1636, allocations: 3.938 kB / 0.5049 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1636, allocations: 0 / 0.5049 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.1648, allocations: 0.8922 MB / 0.5058 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1648, allocations: 0 / 0.5058 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1649, allocations: 31.92 kB / 0.5058 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1649, allocations: 4 kB / 0.5058 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1649, allocations: 11.98 kB / 0.5058 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1649, allocations: 4 kB / 0.5058 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1649, allocations: 4 kB / 0.5058 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1654, allocations: 376 kB / 0.5062 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.1654, allocations: 23.94 kB / 0.5062 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.1655, allocations: 23.77 kB / 0.5062 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1656, allocations: 8 kB / 0.5062 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1656, allocations: 19.86 kB / 0.5063 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1657, allocations: 15.98 kB / 0.5063 GB, free: 4.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1658, allocations: 171.2 kB / 0.5064 GB, free: 3.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 0.5064 GB, free: 3.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002011/0.1679, allocations: 0.7477 MB / 0.5072 GB, free: 3.184 MB / 382.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.003718/0.1716, allocations: 2.036 MB / 0.5092 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.1721, allocations: 311.7 kB / 0.5095 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1721, allocations: 0 / 0.5095 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.1722, allocations: 100.5 kB / 0.5096 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.1728, allocations: 83.73 kB / 0.5096 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.1765, allocations: 3.179 MB / 0.5127 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.854e-05/0.1766, allocations: 93.62 kB / 0.5128 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003935/0.177, allocations: 299.6 kB / 0.5131 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.1771, allocations: 43.41 kB / 0.5132 GB, free: 12.83 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1771, allocations: 4 kB / 0.5132 GB, free: 12.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2275/0.4045, allocations: 28.81 MB / 0.5413 GB, free: 60.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 5.656 kB / 0.5413 GB, free: 60.96 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.41018097102642] Failed to read output from testmodel.py, exit status != 0: 12.067573751905002 12.076953707 11.932927653 Calling exit ...