Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 118.8 kB / 21.19 MB, free: 4.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 213.3 kB / 24.48 MB, free: 1.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.07/1.07, allocations: 230.6 MB / 258.2 MB, free: 3.086 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1716/0.1716, allocations: 47.7 MB / 362.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5750,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 99.84 kB / 0.4978 GB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 66.21 MB / 0.5624 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.00712/0.2688, allocations: 8.539 MB / 0.5708 GB, free: 5.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.2734, allocations: 2.948 MB / 0.5736 GB, free: 2.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008054/0.2742, allocations: 31.88 kB / 0.5737 GB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.2754, allocations: 0.5589 MB / 0.5742 GB, free: 1.527 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.2764, allocations: 0.5854 MB / 0.5748 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.2769, allocations: 323.5 kB / 0.5751 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2783, allocations: 1.763 MB / 0.5768 GB, free: 14.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.2789, allocations: 413.4 kB / 0.5772 GB, free: 14.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008221/0.2797, allocations: 0.7083 MB / 0.5779 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007522/0.2804, allocations: 0.6373 MB / 0.5785 GB, free: 13.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.2806, allocations: 160 kB / 0.5787 GB, free: 12.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.2809, allocations: 196 kB / 0.5789 GB, free: 12.72 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2811, allocations: 334.8 kB / 0.5792 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.2815, allocations: 0.6573 MB / 0.5798 GB, free: 11.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.2832, allocations: 2.012 MB / 0.5818 GB, free: 9.711 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2832, allocations: 0 / 0.5818 GB, free: 9.711 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2832, allocations: 0 / 0.5818 GB, free: 9.711 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.629e-05/0.2832, allocations: 0 / 0.5818 GB, free: 9.711 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00223/0.2855, allocations: 1.771 MB / 0.5835 GB, free: 7.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2855, allocations: 12.03 kB / 0.5835 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.2859, allocations: 199.9 kB / 0.5837 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009547/0.2868, allocations: 0.768 MB / 0.5845 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.2869, allocations: 163.8 kB / 0.5846 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.287, allocations: 120.1 kB / 0.5847 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.2884, allocations: 1.569 MB / 0.5863 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.2884, allocations: 7.938 kB / 0.5863 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.2885, allocations: 48 kB / 0.5863 GB, free: 4.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.2885, allocations: 24 kB / 0.5863 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009801/0.2895, allocations: 0.7534 MB / 0.5871 GB, free: 3.984 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.2932, allocations: 3.201 MB / 0.5902 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.2941, allocations: 0.5465 MB / 0.5907 GB, free: 88 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.2944, allocations: 242.8 kB / 0.591 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.2944, allocations: 8.5 kB / 0.591 GB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.2948, allocations: 331.8 kB / 0.5913 GB, free: 15.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=62): time 1.974e-06/0.2948, allocations: 0 / 0.5913 GB, free: 15.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.002702/0.2975, allocations: 1.841 MB / 0.5931 GB, free: 13.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.2977, allocations: 475.3 kB / 0.5936 GB, free: 13.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2988, allocations: 0.9634 MB / 0.5945 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.2988, allocations: 41.7 kB / 0.5945 GB, free: 12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.2992, allocations: 0.6751 MB / 0.5952 GB, free: 11.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2993, allocations: 241.9 kB / 0.5954 GB, free: 11.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.2995, allocations: 202.9 kB / 0.5956 GB, free: 10.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.2996, allocations: 341.9 kB / 0.5959 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.2999, allocations: 301.9 kB / 0.5962 GB, free: 10.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.3005, allocations: 1.169 MB / 0.5974 GB, free: 8.746 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.3014, allocations: 0.9412 MB / 0.5983 GB, free: 7.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3014, allocations: 7.938 kB / 0.5983 GB, free: 7.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00127/0.3027, allocations: 1.188 MB / 0.5995 GB, free: 6.398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3027, allocations: 67.34 kB / 0.5995 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3027, allocations: 16 kB / 0.5995 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.3031, allocations: 172.5 kB / 0.5997 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.3035, allocations: 203.6 kB / 0.5999 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.3067, allocations: 3.595 MB / 0.6034 GB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.3072, allocations: 59.92 kB / 0.6035 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.3072, allocations: 51.98 kB / 0.6035 GB, free: 2.035 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.3076, allocations: 297.6 kB / 0.6038 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.3077, allocations: 119.3 kB / 0.6039 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008395/0.3085, allocations: 0.6851 MB / 0.6046 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3085, allocations: 8 kB / 0.6046 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3085, allocations: 0 / 0.6046 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007734/0.3093, allocations: 0.955 MB / 0.6055 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.311, allocations: 1.518 MB / 0.607 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.311, allocations: 0 / 0.607 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3112, allocations: 107.8 kB / 0.6071 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002535/0.3115, allocations: 129.8 kB / 0.6072 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.3115, allocations: 16.12 kB / 0.6072 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.3137, allocations: 3.308 MB / 0.6105 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3137, allocations: 4.031 kB / 0.6105 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3148, allocations: 1.033 MB / 0.6115 GB, free: 9.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.3151, allocations: 167.2 kB / 0.6116 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.3151, allocations: 16 kB / 0.6117 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.3154, allocations: 47.89 kB / 0.6117 GB, free: 9.184 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3155, allocations: 52.41 kB / 0.6118 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.3155, allocations: 19.98 kB / 0.6118 GB, free: 9.113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005754/0.3161, allocations: 0.6384 MB / 0.6124 GB, free: 8.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3161, allocations: 0 / 0.6124 GB, free: 8.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007144/0.3168, allocations: 307.9 kB / 0.6127 GB, free: 8.164 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.317, allocations: 135.1 kB / 0.6128 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3183, allocations: 1.127 MB / 0.6139 GB, free: 6.836 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3183, allocations: 0 / 0.6139 GB, free: 6.836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.3188, allocations: 0.524 MB / 0.6144 GB, free: 6.285 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.3195, allocations: 294.8 kB / 0.6147 GB, free: 6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.3222, allocations: 2.295 MB / 0.617 GB, free: 3.645 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3226, allocations: 0.4891 MB / 0.6174 GB, free: 3.121 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3227, allocations: 75.44 kB / 0.6175 GB, free: 3.047 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3227, allocations: 0 / 0.6175 GB, free: 3.047 MB / 458.7 MB Notification: Performance of Templates: time 0.02357/0.3463, allocations: 26.03 MB / 0.6429 GB, free: 9.086 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.448003549128771]