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.001541/0.001541, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001569/0.001569, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.393/1.393, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.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.05221/0.05221, allocations: 9.152 MB / 291.5 MB, free: 7.172 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.002118/0.002118, allocations: 79.88 kB / 406.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2388, allocations: 50.71 MB / 457.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.0187/0.2575, allocations: 17.33 MB / 474.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.2724, allocations: 15.58 MB / 490.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.2725, allocations: 0 / 490.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2735, allocations: 423.4 kB / 490.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.2765, allocations: 1.303 MB / 491.9 MB, free: 5.184 MB / 350.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.01116/0.2877, allocations: 4.708 MB / 496.6 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.2879, allocations: 147.1 kB / 496.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.288, allocations: 9.109 kB / 496.8 MB, free: 308 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2881, allocations: 71.72 kB / 496.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.2882, allocations: 43.73 kB / 496.9 MB, free: 192 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2882, allocations: 4 kB / 496.9 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.3044, allocations: 8.733 MB / 0.4938 GB, free: 7.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.3045, allocations: 19.92 kB / 0.4938 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3046, allocations: 55.67 kB / 0.4938 GB, free: 7.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009072/0.3137, allocations: 3.495 MB / 0.4973 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3137, allocations: 4 kB / 0.4973 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3137, allocations: 0 / 0.4973 GB, free: 3.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3137, allocations: 0 / 0.4973 GB, free: 3.852 MB / 366.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.001514/0.3152, allocations: 0.8115 MB / 0.498 GB, free: 2.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3152, allocations: 12.03 kB / 0.4981 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.684e-05/0.3152, allocations: 4 kB / 0.4981 GB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.3153, allocations: 50.55 kB / 0.4981 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.3157, allocations: 63.83 kB / 0.4982 GB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3158, allocations: 174.9 kB / 0.4983 GB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.3159, allocations: 8 kB / 0.4983 GB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3159, allocations: 4 kB / 0.4984 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.3163, allocations: 265.3 kB / 0.4986 GB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3163, allocations: 0 / 0.4986 GB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3163, allocations: 0 / 0.4986 GB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3163, allocations: 7.984 kB / 0.4986 GB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.3168, allocations: 459.5 kB / 0.4991 GB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3172, allocations: 338.3 kB / 0.4994 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.3175, allocations: 222.5 kB / 0.4996 GB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3178, allocations: 196.8 kB / 0.4998 GB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0169/0.3347, allocations: 10.01 MB / 0.5096 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.3347, allocations: 38.55 kB / 0.5096 GB, free: 5.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 4.187e-06/0.3347, allocations: 4 kB / 0.5096 GB, free: 5.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001039/0.3357, allocations: 0.6736 MB / 0.5102 GB, free: 4.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3358, allocations: 59.41 kB / 0.5103 GB, free: 4.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.3359, allocations: 93.8 kB / 0.5104 GB, free: 4.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3359, allocations: 29.7 kB / 0.5104 GB, free: 4.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.3359, allocations: 84.8 kB / 0.5105 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3361, allocations: 138.7 kB / 0.5106 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.3362, allocations: 45.81 kB / 0.5107 GB, free: 4.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3363, allocations: 330.8 kB / 0.511 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.3365, allocations: 183.9 kB / 0.5112 GB, free: 3.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3368, allocations: 193 kB / 0.5114 GB, free: 3.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.3373, allocations: 443.6 kB / 0.5118 GB, free: 3.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3373, allocations: 7.938 kB / 0.5118 GB, free: 3.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000615/0.3379, allocations: 492 kB / 0.5123 GB, free: 2.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3379, allocations: 8 kB / 0.5123 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3379, allocations: 4 kB / 0.5123 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.338, allocations: 0 / 0.5123 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3381, allocations: 23.97 kB / 0.5123 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3381, allocations: 7.938 kB / 0.5123 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.3382, allocations: 15.89 kB / 0.5123 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3382, allocations: 4 kB / 0.5123 GB, free: 2.469 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 0.0001115/0.3383, allocations: 125.8 kB / 0.5124 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.3384, allocations: 11.91 kB / 0.5124 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008477/0.3392, allocations: 0.6788 MB / 0.5131 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3392, allocations: 4 kB / 0.5131 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.3392, allocations: 3.938 kB / 0.5131 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3392, allocations: 0 / 0.5131 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3404, allocations: 0.9045 MB / 0.514 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3404, allocations: 4 kB / 0.514 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3405, allocations: 27.92 kB / 0.514 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3405, allocations: 352 / 0.514 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.3405, allocations: 19.98 kB / 0.5141 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3405, allocations: 4 kB / 0.5141 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3405, allocations: 7.938 kB / 0.5141 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.341, allocations: 375.8 kB / 0.5144 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.341, allocations: 85.09 kB / 0.5145 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3411, allocations: 15.84 kB / 0.5145 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3412, allocations: 12 kB / 0.5145 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3413, allocations: 19.92 kB / 0.5145 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3413, allocations: 11.98 kB / 0.5146 GB, free: 15.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3414, allocations: 171.2 kB / 0.5147 GB, free: 15.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 0.5147 GB, free: 15.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001971/0.3434, allocations: 0.7516 MB / 0.5155 GB, free: 14.99 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.003554/0.347, allocations: 2.023 MB / 0.5174 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.3474, allocations: 299.7 kB / 0.5177 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3474, allocations: 0 / 0.5177 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.3476, allocations: 99.77 kB / 0.5178 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.3482, allocations: 72.59 kB / 0.5179 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.3516, allocations: 3.114 MB / 0.5209 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.352, allocations: 0.7045 MB / 0.5216 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.3523, allocations: 287.9 kB / 0.5219 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.3524, allocations: 47.41 kB / 0.5219 GB, free: 8.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3524, allocations: 0 / 0.5219 GB, free: 8.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.407, allocations: 28.34 MB / 0.5496 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/9.008, allocations: 11.95 kB / 0.5496 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.344205526984297] Failed to read output from testmodel.py, exit status != 0: 9.142448837053962 9.15519935 8.838824265 Calling exit ...