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.001263/0.001263, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001384/0.001384, allocations: 211.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.347/1.347, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.04855/0.04855, allocations: 9.121 MB / 321.5 MB, free: 10.3 MB / 254.1 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 0.003008/0.003008, allocations: 63.91 kB / 446.5 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.121, allocations: 54.95 MB / 0.4897 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01934/0.1404, allocations: 15.71 MB / 0.505 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2048/0.3452, allocations: 13.71 MB / 0.5184 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.3453, allocations: 1.5 kB / 0.5184 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007725/0.346, allocations: 332.7 kB / 0.5187 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.3487, allocations: 1.332 MB / 0.52 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009532/0.3582, allocations: 4.646 MB / 0.5246 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3584, allocations: 147.2 kB / 0.5247 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.3585, allocations: 9.922 kB / 0.5247 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3586, allocations: 70.06 kB / 0.5248 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.3587, allocations: 53.16 kB / 0.5249 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.3587, allocations: 2.188 kB / 0.5249 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.3695, allocations: 5.899 MB / 0.5306 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.3695, allocations: 18.33 kB / 0.5306 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.3696, allocations: 41.39 kB / 0.5307 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.3759, allocations: 2.942 MB / 0.5335 GB, free: 5.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3759, allocations: 2.953 kB / 0.5335 GB, free: 5.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3759, allocations: 0 / 0.5335 GB, free: 5.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3759, allocations: 1.5 kB / 0.5335 GB, free: 5.883 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.001499/0.3774, allocations: 0.7334 MB / 0.5343 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3774, allocations: 13.16 kB / 0.5343 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.3775, allocations: 46.94 kB / 0.5343 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.3778, allocations: 56.61 kB / 0.5344 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.3779, allocations: 124 kB / 0.5345 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3779, allocations: 2.531 kB / 0.5345 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.378, allocations: 11.59 kB / 0.5345 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3783, allocations: 271.6 kB / 0.5348 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3783, allocations: 0 / 0.5348 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3783, allocations: 3.688 kB / 0.5348 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3783, allocations: 10.56 kB / 0.5348 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3788, allocations: 464 kB / 0.5352 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.379, allocations: 306.2 kB / 0.5355 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3793, allocations: 235.4 kB / 0.5357 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.3795, allocations: 208.9 kB / 0.5359 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.3917, allocations: 3.096 MB / 0.539 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3917, allocations: 37.19 kB / 0.539 GB, free: 3.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.3917, allocations: 0 / 0.539 GB, free: 3.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008279/0.3925, allocations: 0.7011 MB / 0.5397 GB, free: 3.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.3926, allocations: 56.78 kB / 0.5397 GB, free: 3.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.07e-05/0.3926, allocations: 93.98 kB / 0.5398 GB, free: 3.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3926, allocations: 33.33 kB / 0.5399 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.324e-05/0.3926, allocations: 82.17 kB / 0.5399 GB, free: 3.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.3927, allocations: 141.8 kB / 0.5401 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.3927, allocations: 46.94 kB / 0.5401 GB, free: 3.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.3928, allocations: 322.3 kB / 0.5404 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.393, allocations: 200.3 kB / 0.5406 GB, free: 3.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3932, allocations: 202.9 kB / 0.5408 GB, free: 3.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.3936, allocations: 475 kB / 0.5413 GB, free: 3.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3936, allocations: 1.625 kB / 0.5413 GB, free: 3.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005262/0.3941, allocations: 0.5058 MB / 0.5418 GB, free: 2.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3942, allocations: 5.781 kB / 0.5418 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3942, allocations: 0 / 0.5418 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3942, allocations: 1.312 kB / 0.5418 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3943, allocations: 32.53 kB / 0.5418 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3943, allocations: 3.719 kB / 0.5418 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3944, allocations: 18.47 kB / 0.5418 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3944, allocations: 9.734 kB / 0.5418 GB, free: 2.855 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 6.385e-05/0.3945, allocations: 127.7 kB / 0.5419 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.3945, allocations: 16.88 kB / 0.542 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.3952, allocations: 0.6941 MB / 0.5426 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3952, allocations: 1.344 kB / 0.5426 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3952, allocations: 0.5156 kB / 0.5426 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3952, allocations: 3.984 kB / 0.5426 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008699/0.396, allocations: 0.8985 MB / 0.5435 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.396, allocations: 2.031 kB / 0.5435 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3962, allocations: 37.09 kB / 0.5436 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3962, allocations: 3.312 kB / 0.5436 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3962, allocations: 11.12 kB / 0.5436 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3962, allocations: 7.391 kB / 0.5436 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3962, allocations: 7.531 kB / 0.5436 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.3965, allocations: 381.9 kB / 0.544 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.3965, allocations: 13.58 kB / 0.544 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3966, allocations: 22.89 kB / 0.544 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3967, allocations: 5.531 kB / 0.544 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.3967, allocations: 21.91 kB / 0.544 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3967, allocations: 6.203 kB / 0.544 GB, free: 1.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.3969, allocations: 173 kB / 0.5442 GB, free: 1.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3969, allocations: 4 kB / 0.5442 GB, free: 1.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002196/0.3991, allocations: 0.7565 MB / 0.5449 GB, free: 0.9766 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.003197/0.4023, allocations: 2.039 MB / 0.5469 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.4027, allocations: 309.3 kB / 0.5472 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4028, allocations: 4 kB / 0.5472 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.4029, allocations: 107.9 kB / 0.5473 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.4035, allocations: 71.45 kB / 0.5474 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.4071, allocations: 3.169 MB / 0.5505 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.308e-05/0.4072, allocations: 103.9 kB / 0.5506 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.4076, allocations: 287.8 kB / 0.5509 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.4077, allocations: 47.22 kB / 0.5509 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4077, allocations: 0 / 0.5509 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06625/0.4739, allocations: 29.25 MB / 0.5795 GB, free: 1.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.81, allocations: 3.938 kB / 0.5795 GB, free: 1.348 MB / 414.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.182171867229044] Failed to read output from testmodel.py, exit status != 0: 11.928057909943163 11.942649474 11.563750147 Calling exit ...