Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") translateModel(HanserModelica.Machines.TestDoubleLayer7over9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 104.4 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.00149, allocations: 188.5 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03508/0.03508, allocations: 8.795 MB / 349.3 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 80.7 kB / 412.5 MB, free: 41.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09595, allocations: 51.57 MB / 464.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002292/0.09829, allocations: 1.241 MB / 465.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1, allocations: 1.148 MB / 466.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.1001, allocations: 0 / 466.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.1005, allocations: 83.69 kB / 466.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.1014, allocations: 406.4 kB / 467 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1014, allocations: 0 / 467 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1025, allocations: 0.753 MB / 467.7 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.1026, allocations: 8 kB / 467.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.1026, allocations: 11.94 kB / 467.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.1026, allocations: 19.84 kB / 467.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1026, allocations: 4 kB / 467.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1028, allocations: 35.92 kB / 467.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.1028, allocations: 15.98 kB / 467.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.1029, allocations: 23.8 kB / 467.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.103, allocations: 79.69 kB / 467.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.103, allocations: 0 / 467.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.103, allocations: 4 kB / 467.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1031, allocations: 0 / 467.9 MB, free: 9.684 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003388/0.1034, allocations: 375 kB / 468.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1034, allocations: 12.03 kB / 468.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.1038, allocations: 108.1 kB / 468.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.1042, allocations: 352 kB / 468.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.1043, allocations: 158.9 kB / 468.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.1044, allocations: 158.9 kB / 469 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.968e-05/0.1044, allocations: 113.3 kB / 469.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.1045, allocations: 79.22 kB / 469.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.1045, allocations: 150.6 kB / 469.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.1046, allocations: 154.6 kB / 469.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.787e-05/0.1047, allocations: 150.6 kB / 469.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.1049, allocations: 461.9 kB / 470.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.105, allocations: 169.1 kB / 470.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.1051, allocations: 88.08 kB / 470.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1051, allocations: 79.27 kB / 470.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.1051, allocations: 113.8 kB / 470.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1051, allocations: 0 / 470.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.78e-05/0.1052, allocations: 33.61 kB / 470.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1053, allocations: 126.7 kB / 470.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1054, allocations: 162.2 kB / 470.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.1054, allocations: 29.7 kB / 470.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.1055, allocations: 100.1 kB / 471 MB, free: 6.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-06/0.1055, allocations: 0 / 471 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.1055, allocations: 13.66 kB / 471 MB, free: 6.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1057, allocations: 322.8 kB / 471.3 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.1057, allocations: 3.938 kB / 471.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-06/0.1057, allocations: 0 / 471.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.1057, allocations: 75.28 kB / 471.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/0.1058, allocations: 79.28 kB / 471.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.112e-05/0.1058, allocations: 33.61 kB / 471.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.1059, allocations: 87.22 kB / 471.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.1059, allocations: 83.22 kB / 471.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.171e-05/0.106, allocations: 150.6 kB / 471.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-05/0.106, allocations: 79.27 kB / 471.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.587e-05/0.106, allocations: 162.5 kB / 472.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.1061, allocations: 75.28 kB / 472.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1062, allocations: 79.22 kB / 472.2 MB, free: 5.117 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 0.0001177/0.1063, allocations: 280.3 kB / 472.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.1063, allocations: 112.8 kB / 472.6 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.1064, allocations: 120.9 kB / 472.7 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-05/0.1065, allocations: 184.2 kB / 472.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.247e-05/0.1065, allocations: 180.3 kB / 473.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.969e-05/0.1066, allocations: 180.2 kB / 473.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1068, allocations: 417.2 kB / 473.7 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/0.1069, allocations: 105 kB / 473.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.1069, allocations: 108.9 kB / 473.9 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.416e-05/0.107, allocations: 180.2 kB / 474 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/0.1071, allocations: 192.1 kB / 474.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-05/0.1071, allocations: 184.3 kB / 474.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-05/0.1072, allocations: 176.3 kB / 474.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1073, allocations: 315.7 kB / 474.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.1074, allocations: 193.9 kB / 475.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.1075, allocations: 176.3 kB / 475.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1076, allocations: 105 kB / 475.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.1077, allocations: 184.7 kB / 475.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1077, allocations: 105 kB / 475.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.421e-05/0.1078, allocations: 123.2 kB / 475.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1078, allocations: 0 / 475.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.108, allocations: 4 kB / 475.8 MB, free: 1.344 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001289/0.1082, allocations: 170.5 kB / 475.9 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.484e-05/0.1082, allocations: 3.938 kB / 475.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1082, allocations: 0 / 475.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1082, allocations: 4.062 kB / 475.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.1087, allocations: 487 kB / 476.4 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.109, allocations: 236.7 kB / 476.6 MB, free: 432 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1094, allocations: 0.6963 MB / 477.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.1094, allocations: 11.98 kB / 477.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.1094, allocations: 7.438 kB / 477.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1094, allocations: 0 / 477.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of Templates: time 0.002882/0.1123, allocations: 465.6 kB / 477.8 MB, free: 15.24 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.makefile (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & ./HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1)